[OPENIDM-10115] Backport OPENIDM-8201: Schedule is not saved when configured through the UI Created: 01/Feb/18  Updated: 08/Mar/18  Resolved: 25/Feb/18

Status: Closed
Project: OpenIDM
Component/s: Module - Web UI
Affects Version/s: OpenIDM 5.0.0, OpenIDM 5.5.0
Fix Version/s: OpenIDM 5.0.0.2, OpenIDM 5.5.0.2

Type: Bug Priority: Critical
Reporter: Mark Offutt [X] (Inactive) Assignee: Mark Offutt [X] (Inactive)
Resolution: Fixed Votes: 0
Labels: Sustaining
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OpenIDM version "5.0.0" (revision: e6689a6) jenkins-OpenIDM - Release (5.x)-14 release/5.0.0


Issue Links:
Backport
is a backport of OPENIDM-8201 Schedule is not saved when configured... Closed
Target Version/s:
Verified Version/s:
QA Assignee: Jakub Janoska [X] (Inactive)

 Description   

When creating a Schedule, dev console shows Uncaught TypeError: Cannot read property 'toString' of undefined, and schedule does not get saved although UI says it was.

Steps:
1. run sample1
2. navigate to Configure | Schedules
3. select + Add Schedule button
4. enable and create a schedule (e.g., every day at 1 click save)

Expected Results:
UI displays Uncaught TypeError: Cannot read property 'toString' of undefined
schedule reflected in Schedule List

Actual Results:
UI displays Uncaught TypeError: Cannot read property 'toString' of undefined
schedule IS NOT reflected in Schedule List
dev console shows

SchedulerListView.js?v=5.0.0:204 Uncaught TypeError: Cannot read property 'toString' of undefined
    at R.r.renderTypePartial (SchedulerListView.js?v=5.0.0:204)
    at R.r.getScheduleTypeDisplay (SchedulerListView.js?v=5.0.0:217)
    at R.r.render (SchedulerListView.js?v=5.0.0:80)
    at R.r.render (backgrid.min-0.3.5-min.js?v=5.0.0:8)
    at R.r.insertRow (backgrid.min-0.3.5-min.js?v=5.0.0:8)
    at c (jsoneditor-0.7.9-min.js:23)
    at R.r.trigger (jsoneditor-0.7.9-min.js:23)
    at R.r._onModelEvent (jsoneditor-0.7.9-min.js:23)
    at c (jsoneditor-0.7.9-min.js:23)
    at R.r.trigger (jsoneditor-0.7.9-min.js:23)


 Comments   
Comment by Mark Offutt [X] (Inactive) [ 09/Feb/18 ]

This was already committed to 5.0.x branch. See commit 3f60b5f5a93

Comment by Jakub Janoska [X] (Inactive) [ 21/Feb/18 ]

Verified on OpenIDM version "5.0.0.2-RC2" (revision: 608d658) jenkins-OpenIDM - 5.0.x - Release-18 sustaining/5.0.x 

I am able to create/update/remove schedule via UI.

Comment by Mark Offutt [X] (Inactive) [ 23/Feb/18 ]

Reopening to push to 5.5.0.2 release

Comment by Jakub Janoska [X] (Inactive) [ 08/Mar/18 ]

 Verified on "5.5.0.2-RC1" (revision: 3d983e4) and closing.

Generated at Thu Jan 28 13:55:58 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.