Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2822

Apex-Editor create policy is broken after POLICY-2783

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Guilin Release
    • Guilin Release
    • None

    Description

      The changes introduced in POLICY-2783 are breaking the policy create functionality.

      In fact it already throws errors in the console as soon as the interface is open:

      ApexTable.js:39 Uncaught ReferenceError: module is not defined
          at ApexTable.js:39
      (anonymous) @ ApexTable.js:39
      ApexContextSchemaEditForm.js:22 Uncaught ReferenceError: require is not defined
          at ApexContextSchemaEditForm.js:22
      (anonymous) @ ApexContextSchemaEditForm.js:22
      ApexContextAlbumTab.js:118 Uncaught ReferenceError: module is not defined
          at ApexContextAlbumTab.js:118
      (anonymous) @ ApexContextAlbumTab.js:118
      ApexAjax.js:1 Uncaught SyntaxError: Identifier 'ajax_getWithKeyInfo' has already been declared
          at ApexAjax.js:1
      (anonymous) @ ApexAjax.js:1
      ApexPageControl.js:257 Uncaught ReferenceError: module is not defined
          at ApexPageControl.js:257
      (anonymous) @ ApexPageControl.js:257
      ApexFiles.js:1 Uncaught SyntaxError: Identifier 'ajax_get' has already been declared
      ApexFormUtils.js:50 Uncaught ReferenceError: module is not defined
          at ApexFormUtils.js:50
      (anonymous) @ ApexFormUtils.js:50
      ApexConfig.js:61 Uncaught ReferenceError: module is not defined
          at ApexConfig.js:61 

      To reproduce, just run the org.onap.policy.gui.editors.apex.rest.ApexEditorMain class and open the interface, default url http://localhost:18989.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              liamfallon Liam Fallon
              andre.schmid André Schmid
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: