Bug 978088
Summary: | Spell checking no longer works in Chrome on initial load | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Lee Newson <lnewson> |
Component: | Web-UI | Assignee: | Matthew Casperson <mcaspers> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1 | CC: | cbredesen, jmorgan, mcaspers |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-09 00:00:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lee Newson
2013-06-26 00:30:57 UTC
Just found another interesting part, it only appears to fail when the page is initially loaded. If you do a search or go to a topic directly and then click the topic in the search results pane, the spell checking will start to work. *** Bug 979196 has been marked as a duplicate of this bug. *** The issue appears to be because the editor is only waiting for the positive dictionary to load, and is not waiting for the negative or negative phrase dictionaries to load. Fixed in 201307011121 NOTE: When QAing bug fixes, please make sure the build you are using is equal to or higher than the build identified above. Be aware that this fix may have only been applied in PressGang Next at this time, or it may not be currently applied in any production system, in which case it can only be verified at a later date. The issue still remains in Build 201307011121. This is testing in Incognito mode and completely clearing my cache. Also changing the title to be more descriptive. Just adding additional details. Now the spell checking fails earlier by the looks of it. The error is now: Uncaught ReferenceError: console is not defined :8080/pressgang-ccms-ui/javascript/typojs/checkspelling.js:41 By the looks of it the spell checking is running in a web worker, in which case it doesn't have access to the console object (see: http://stackoverflow.com/questions/7251779/web-worker-console-log or http://www.htmlgoodies.com/html5/client/introduction-to-html5-web-workers-browser-support-non-accessible-elements-and-error-handling.html) Forgot to mention, that the main problem is that the dictionary is still null. Fixed in 201307171035 This was an issue with the sequence in which the dictionary data was passed to the worker. Verified, so setting this to RELEASE_PENDING. |