Various Javascript errors in console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Low
|
Unassigned |
Bug Description
There are a large number of js errors reported in console. I don't have time to ferret out fixes to them all right now, so this ticket will serve a list of those encountered. All these can be experienced between login, F4 (patron search) and retrieve patron.
Versions:
Evergreen: 1.6.00.0099 trunk
Xulrunner: 1.9.0.13
Error: _l is not defined
Source File: chrome:
Line: 117
"Error: not well-formed" is given for the first line of each these files, relative to the C:/Users/
locale/
locale/
content/
content/
content/
content/
content/
content/
content/
content/
content/
content/
content/
That is confusing because some of those files aren't even javascript!
Minor Warning: Deprecated property window.title used. Please use document.title instead.
[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_
On many pages, including patron search and patron search results:
Warning: Empty string passed to getElementById().
This appears to be common, probably harmless (but sloppy).
Error: obj.summary_
Source File: http://
Line: 655
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_
Changed in evergreen: | |
importance: | Undecided → Low |
status: | New → Triaged |
I am receiving a JavaScript error like these when exporting transactions from the staff client and attempting the "auto purge" feature:
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.moveTo]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome: //open_ ils_staff_ client/ content/ main/main. js :: anonymous :: line 227" data: no]
My steps:
1. Create offline transactions.
2. Export Transactions (from login screen)
3. Select Yes that I would like to purge transactions from the staff client.
4. The above error appears and transactions are not purged.
Current workaround is to manually delete the pending_xacts file from the chrome directory.