[MGNLSLOCK-13] Javascript error breaks page on IE8/IE9 Created: 22/Sep/11 Updated: 21/Oct/11 Resolved: 26/Sep/11 |
|
| Status: | Closed |
| Project: | Magnolia Soft Locking Module |
| Component/s: | None |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.0.3 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
IE7, IE8, IE9 |
||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
It looks like the problem is caused by passing an empty string as a url argument to the XMLHttpRequest.open() function. Other browsers evidently don't care about it and assume the url is that of the current page. This has consequences not only on soft locking (which of course does not work anymore) but also on paragraph moving and other functionalities achieved with javascript. |
| Comments |
| Comment by Tobias Mattsson [ 04/Oct/11 ] |
|
I remember reading that in html5 they would change the meaning of url empty string, it will no longer mean the same page, this to eliminate unnecessary requests when an <img/> is set to src="". |
| Comment by Federico Grilli [ 04/Oct/11 ] |
|
okay, that could explain why it fails in IE8/9 (even though Safari, Chrome and recent FF did not complain about it). |