Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating assignments fails for some users #9

Open
abkoch opened this issue Feb 2, 2021 · 10 comments
Open

Creating assignments fails for some users #9

abkoch opened this issue Feb 2, 2021 · 10 comments

Comments

@abkoch
Copy link

abkoch commented Feb 2, 2021

Dear developer team,

sometimes the creation of activities of the type "task" fails for some users. They can no longer create tasks whereas new created users or other users are still able to create tasks.

If one disable the plugin "collabora submissions" all users may create activities of the type "task" again.

It would be great if you might resolve this issue.

Versions:

  • Moodle: 3.9.x
  • collabora submission: v3.1ß-r1

Best regards
Andreas

@abkoch abkoch changed the title Creating Creating tasks fails for some users Feb 2, 2021
@abkoch
Copy link
Author

abkoch commented Dec 16, 2022

Dear developer team,

the problem still occurs with Moodle 4.0.5 (Build: 20221114) and "assignsubmission_collabora" v4.0-beta-3 (2022-04-04)
2022030602.

Will there be a fix?

Best regards
Andreas

@grabs
Copy link
Contributor

grabs commented Dec 17, 2022

Hi Andreas,
sorry for the long wait. But I don't really understand you problem :(.
Can you be a little more specific what do you mean?
What is a Task activity?
What happens while trying to create such an activity instance?
Can you please enable the debug mode and tell me the error message?
Thank you!
Best regards
Andreas

@abkoch
Copy link
Author

abkoch commented Dec 17, 2022

Hi Andreas,

thanks for your response. I should have written "assignment" instead of "task". Sorry, my bad.

When a user tries to create a new assignment or tries to edit an existing one, he gets stuck on the "modedit.php" site. This problems occurs suddenly for some users and then persists. The debug mode shows no errors. As far as the administrator deactivates the plugin "assignsubmission_collabora", these users are able to create and edit assignments again.

Best regards
Andreas

@abkoch abkoch changed the title Creating tasks fails for some users Creating assignments fails for some users Dec 17, 2022
@grabs
Copy link
Contributor

grabs commented Dec 17, 2022

Hi Andreas,

when you say "gets stuck on the modedit.php", do you mean the click on "Save and..." does nothing or that the page starts loading but doesn't stop?
Can you tell me, what values are set in the "Adding a new Assignment" form especially in the "Submission types" section?

Andreas

@abkoch
Copy link
Author

abkoch commented Dec 17, 2022

Hi Andreas,

the HTTP-Request is performed but the result is that you land on the same page again. The default settings are used, the required field is filled out. It makes no difference if settings are changed or which values are used.

See the following video: https://user-images.githubusercontent.com/51958234/208243572-af7073e3-5ff4-40b2-a2a4-a5ce4167f671.mp4

Best regards
Andreas

@grabs
Copy link
Contributor

grabs commented Dec 17, 2022

Hi Andreas,
before I go into the code I would ask you to install the very last version of this Plugin and also the last version of mod_collabora.
There were lots of changes since then.
Maybe the problems vanish by itself ;).

Best regards
Andreas

@abkoch
Copy link
Author

abkoch commented Dec 17, 2022

Dear Andreas,

same issue with mod_collabora v4.1-r1 (2022-11-24) 2022042002 and assignsubmission_collabora v4.1-r1 (2022-11-24) 2022042002.

Best regards
Andreas

@grabs
Copy link
Contributor

grabs commented Dec 18, 2022

Hi Andreas,

I am really sorry, but I can not reproduce this behavior :(. I tried a lot with different users and settings. Everything runs fine on my environment.
The only chance I see is to do some debugging on your system where the error appears.

Best regards
Andreas

@abkoch
Copy link
Author

abkoch commented Dec 18, 2022

Hi Andreas,

thank you very much for your work.

Good news: After purging all caches the new versions seem to solve the issue. I asked my users to report again if the issue should pop up again.

Best regards
Andreas

@dacilbf
Copy link

dacilbf commented May 17, 2024

Hello.
I have the same problem. I am currently working with moodle 4.1.5. I have installed and updated the plugins:

mod_collabora v4.3.3 (2024-02-12)
assignsubmission_collabora v4.3.1 (2024-01-11)

When a teacher tries to create or edit an assignment the changes are not saved. Purging the caches did not work for me, after deactivating the plugin assignsubmission_collabora the teachers can work with the tasks correctly.

Note: Debug mode does not show any errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants