Application ID: 2E778B3D-9EC5-EF1B-FFE8-0AE82872CC00
Oops. An internal error [9e23d609591863d957174e1413ab388d] has occurred. We are working on it. Please try again later
Problem description
here is the code causing the problem … see last 2 lines
define([], () => ({
/* content /
/ handler:onClick */
async onClick(___arguments) {
var answerIdList, isAttributeListScore, k, list;
answerIdList = ‘’;
var k_list = ((function (componentUid){ return ___arguments.context.getComponentByUid(componentUid).dynamicListItems })(‘cdc6d283bd44cf0f8e36e5b225851b85’));
for (var k_index in k_list) {
k = k_list[k_index];
console.log(k[‘answer’]);
if ((k[‘id’]) == ((((function (componentUid){ return ___arguments.context.getComponentByUid(componentUid).dynamicListItems })(‘cdc6d283bd44cf0f8e36e5b225851b85’)).slice(-1)[0])[‘id’])) {
answerIdList = String(answerIdList) + String(k[‘id’]);
} else {
answerIdList = [answerIdList,(k[‘id’]),’,’].join(’’);
}
}
console.log(answerIdList);
isAttributeListScore = (await Backendless.Data.of(‘answer_attribute_score’).find(Backendless.DataQueryBuilder.create().setWhereClause((String(’’) + String(’’))).setPageSize(100)));
},
/* handler:onClick /
/ content */
}))
ontent */
}))
###: As you can see the problem is with the last 2 lines.
The url for this bundle is : https://benignreason.backendless.app/api/files/ui-builder/containers/default/pages/Questions/components/56033e7835c68c64721b9dae4a12dd7c/bundle.js
When I go to the file repository in backend->files-> follow path above: to manually clean up the bundle.js and remove that offending line of code, there is no bundle.js. So somewhere the cleanup process on backendless slipped when I deleted the click event. Do you mind clearing the offending piece of code. It is throwing errors, but not breaking the app.
Steps to reproduce
Please describe steps to reproduce starting from the first action.
- Go to page Questions
- Click Desktop Preview
- Make sure developer tools is on. See the error linked to bundle.js