[MAGNOLIA-3374] adminCentral fails to load when MgnlDebug mode is on Created: 08/Nov/10  Updated: 20/Feb/15  Resolved: 08/Nov/10

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: None
Fix Version/s: 4.4

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

Found this while trying to use MgnlRuntime.load(..) function to dinamically load an external javascript. There are several bugs:
1) inconsistent use of array object name, sometimes referred to as notYetDebugged or mistyped as notYetDebuged (one "g" instead of two)
2) MgnlRuntime.debug(..) tries to access the array without specifying this which causes an "undefined" error
3) elements are added to the array by using the non existing Array.append(..) function instead of Array.push(..).


Generated at Mon Feb 12 03:45:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.