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

BUG: "leere" Versionen erzeugen in der Fragenansicht Circle of Death im Cat-Manager #797

Open
ralferlebach opened this issue Jan 21, 2025 · 1 comment
Assignees
Labels
ALISE bug Something isn't working

Comments

@ralferlebach
Copy link
Contributor

Image

präferierte Lösung: "leere" Versionen für eine Skala nicht in das Auswahl anbieten.

@ralferlebach ralferlebach added bug Something isn't working ALISE labels Jan 21, 2025
davidszkiba added a commit that referenced this issue Jan 21, 2025
There was an JS error when we tried to access the `contextid` data value
of a HTML button, if that button was not defined.
Fixed now by checking if the model button exists.
davidszkiba added a commit that referenced this issue Jan 21, 2025
There was an JS error when we tried to access the `contextid` data value
of a HTML button, if that button was not defined.
Fixed now by checking if the model button exists.
davidszkiba added a commit that referenced this issue Jan 24, 2025
There was an JS error when we tried to access the `contextid` data value
of a HTML button, if that button was not defined.
Fixed now by checking if the model button exists.
@ralferlebach
Copy link
Contributor Author

[
{
"error": true,
"exception": {
"message": "Coding error detected, it must be fixed by a programmer: moodle_database::get_in_or_equal() does not accept empty arrays",
"errorcode": "codingerror",
"backtrace": "* line 782 of /lib/dml/moodle_database.php: core\exception\coding_exception thrown\n* line 77 of /local/wunderbyte_table/classes/local/customfield/wbt_field_controller_info.php: call to moodle_database->get_in_or_equal()\n* line 138 of /local/wunderbyte_table/classes/filter.php: call to local_wunderbyte_table\local\customfield\wbt_field_controller_info::instantiate_by_shortnames()\n* line 62 of /local/wunderbyte_table/classes/filter.php: call to local_wunderbyte_table\filter::return_filterjson()\n* line 995 of /local/wunderbyte_table/classes/wunderbyte_table.php: call to local_wunderbyte_table\filter::create_filter()\n* line 623 of /local/wunderbyte_table/classes/wunderbyte_table.php: call to local_wunderbyte_table\wunderbyte_table->query_db_cached()\n* line 179 of /local/wunderbyte_table/classes/external/load_data.php: call to local_wunderbyte_table\wunderbyte_table->printtable()\n* line ? of unknownfile: call to local_wunderbyte_table\external\load_data::execute()\n* line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()\n* line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()\n",
"link": "https://clara.alise.uni-wuppertal.de/local/catquiz/manage_catscales.php?scaleid=1&tsort=astatlastattempttime&tdir=3&contextid=5",
"moreinfourl": "https://docs.moodle.org/405/en/error/debug/codingerror",
"debuginfo": "\nError code: codingerror"
}
}
]

@ralferlebach ralferlebach reopened this Jan 27, 2025
georgmaisser added a commit to Wunderbyte-GmbH/moodle-local_wunderbyte_table that referenced this issue Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ALISE bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants