Skip to content

Cannot activate integrations #148

@ProxiBlue

Description

@ProxiBlue

Preconditions and environment

  • Mage-OS Magento version 1.2.0

Create a new system->integration, and then after created, attempt to activate. Activation fails with a js error, and one cannot continue. It is thus impossible to add new integrations.

roles-tree.js:101 Uncaught TypeError: Cannot read properties of null (reading 'removeChild')
    at roles-tree.js:101:36
    at Array.forEach (<anonymous>)
    at $.<computed>.<computed>._destroy (roles-tree.js:100:26)
    at $.<computed>.<computed>._destroy (jquery-ui.js:143:25)
    at $.<computed>.<computed>.destroy (jquery-ui.js:364:8)
    at $.<computed>.<computed>.remove (jquery-ui.js:322:12)
    at HTMLDivElement.handlerProxy (jquery-ui.js:626:7)
    at HTMLDivElement.dispatch (jquery.js:5145:49)
    at elemData.handle (jquery.js:4949:47)
    at Object.trigger (jquery.js:8629:28)

I tried on two separate sites, both mage-os 1.2.0 WIP upgrades - same issue
I disabled the custom mage-os admin theme - same issue. (so is not theme)
I tried a clean vanilla mage-os install - same issue (so no 3rd party modules installed)
I tried a clean 2.4.8 install - no issues - worked out the box

integration_bug.mp4

Steps to reproduce

  1. Navigate to admin, System->integrations
  2. Create a new test integration
  3. Try activate

Expected result

Integration should be activated.

Actual result

Js error (refer main text)

Additional information

I can bypass issue by commenting out the js code line, as shown in video attached, so there is a workaround.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions