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

Notice on export/import view #166

Open
dasistwas opened this issue Jun 28, 2021 · 1 comment
Open

Notice on export/import view #166

dasistwas opened this issue Jun 28, 2021 · 1 comment
Assignees
Labels
bug urgent Urgen task

Comments

@dasistwas
Copy link
Member

On previous course sent there is the following error in the export/import view:
Notice: Undefined property: stdClass::$eparam2 in /usr/www/users/wunder/fhb/mod/datalynx/view/view_class.php on line 694

@dasistwas dasistwas added the bug label Jun 28, 2021
@dasistwas dasistwas added the urgent Urgen task label Jun 29, 2021
michaelpollak added a commit to michaelpollak/moodle-mod_datalynx that referenced this issue Jul 13, 2021
@michaelpollak
Copy link
Collaborator

I was not able to reproduce but can pinpoint the problem pretty well.
If for some reason eparam2 is not set (deleted from the database, data corruption, whatever) this notice gets thrown. Preventing the notice by anticipating this and passing null.

Looking forward to your feedback :)

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

No branches or pull requests

2 participants