offline interface fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.1 |
Fix Released
|
High
|
Unassigned |
Bug Description
Eg 3.1
When trying to load the offline interface of a 3.1 server the following error is found in the console: "Uncaught Reference Error: UpUp is not defined" because UpUp.start is being called from the offline content, followed by an error referencing iframeResizer.
Eg 3.2
When trying to load the offline interface of a 3.2 server the following error is found in the console: "Error: [$compile:tpload] Failed to load template: ./share/
Both errors in the end leave you with an empty Working Location list and prevent you from saving any transactions, rendering offline mode unusable.
To test offline mode I started with my browser closed, turned off the wireless, then started the browser and went to SERVER/eg/staff/. It seems that if your connection is lost unexpectedly with the browser open it may currently work but that's not reliable enough. I hope to have some branches ready soon to address these.
Changed in evergreen: | |
importance: | Undecided → High |
Changed in evergreen: | |
milestone: | none → 3.2.2 |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Testing please:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp1801156_ offline_ rel_3_1 working/ user/jboyer/ lp1801156_ offline_ rel_3_1
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp1801156_ offline_ rel_3_2 working/ /user/jboyer/ lp1801156_ offline_ rel_3_2
Two branches because t_org_select doesn't mean anything < 3.2.
To test:
Login to a server that has had one of these applied. If this isn't the first time you've logged in today you'll need to delete the UpUp Application cache first, then login.
Close your browser. Shut it.
Get off the internet; turn off Wifi, unplug the cable, whatever.
Enter your server name to trigger offline mode
Try to save transactions. Pre-patch I can't do this at all, if you can post-patch, huzzah, test over.