[MGNLGROOVY-177] Multiple, conflicting jQuery versions pulled in by Groovy module Created: 29/Jun/18 Updated: 06/Jul/18 Resolved: 05/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia Groovy Module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.6, 2.6.4, 2.7.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Maxime Michel | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| 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
|
||||||||||||
| Release notes required: |
Yes
|
||||||||||||
| Sprint: | Basel 150 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
This results in console errors as well as the app switcher blocking the UI. The problem is that Groovy module's Terminal component causes jQuery to be loaded twice (it is already loaded by MagnoliaShell). Even if it is the same version, this'll lead to conflicts, as we don't use the no conflict mode: https://api.jquery.com/jquery.noconflict/ To reproduce the issue consistently
As a workaround, to unfreeze UI, append ?restartApplication to the URL The issue is discussed quite at length here https://vaadin.com/forum/thread/3390058 but the cause of our woes boils down to this
|