Comment 5 for bug 1915556

Revision history for this message
Michele Morgan (mmorgan) wrote :

I've applied this patch to a test server running no other patches. I am unable to add a course or edit an item attached to a course.

When clicking Create Course, no modal appears. The console shows this error:

main.0fd19494acea4a16bac3.js:1 ERROR TypeError: _.creator is not a function
    at o.createNew (6389.e326a8821248710e8ae7.js:1:3800)
    at 6389.e326a8821248710e8ae7.js:1:1133
    at um (main.0fd19494acea4a16bac3.js:1:100257)
    at Object.l [as next] (main.0fd19494acea4a16bac3.js:1:100419)
    at k.__tryOrUnsub (main.0fd19494acea4a16bac3.js:1:456059)
    at k.next (main.0fd19494acea4a16bac3.js:1:455288)
    at j._next (main.0fd19494acea4a16bac3.js:1:454460)
    at j.next (main.0fd19494acea4a16bac3.js:1:454234)
    at Do.next (main.0fd19494acea4a16bac3.js:1:452334)
    at Do.emit (main.0fd19494acea4a16bac3.js:1:146378)

When selecting an existing item and choosing Edit Selected from the Actions menu, no modal appears. The console shows this error:

ERROR TypeError: t.edit_date is not a function
    at i (6389.e326a8821248710e8ae7.js:1:28960)
    at o.editSelectedMaterials (6389.e326a8821248710e8ae7.js:1:29042)
    at 6389.e326a8821248710e8ae7.js:1:25259
    at um (main.0fd19494acea4a16bac3.js:1:100257)
    at Object.l [as next] (main.0fd19494acea4a16bac3.js:1:100419)
    at k.__tryOrUnsub (main.0fd19494acea4a16bac3.js:1:456059)
    at k.next (main.0fd19494acea4a16bac3.js:1:455288)
    at j._next (main.0fd19494acea4a16bac3.js:1:454460)
    at j.next (main.0fd19494acea4a16bac3.js:1:454234)
    at Do.next (main.0fd19494acea4a16bac3.js:1:452334)

One likely issue is that the top commit on the working branch adds "edit_date" rather than "edit_time" to Open-ILS/src/eg2/src/app/staff/admin/local/course-reserves/course-associate-material.component.ts