Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2999

"Map container is already initialized.:" console error when using ezmaplocation fieldtype

    XMLWordPrintable

    Details

      Description

      Publishing a Content Item with ezmaplocation fieldtype results in "Map container is already initialized." error in console.

      Steps to reproduce:
      1. Login as admin
      2. Go to Admin -> Content Types -> Content
      3. Create a new Content Type with ezstring and ezgmaplocation fieldtypes
      4. Go to Content -> Content Structure
      5. Start creating a new Content Item of created Content Type
      6. Fill the name field with "TestItem"
      7. In the map address bar enter "Los angeles" and hit search
      8. Click "Publish"

      Result:

      Error in console:

      Error: Map container is already initialized.
      

      Stacktrace:

      _initContainer http://v3.local/assets/ezplatform/build/ezplatform-admin-ui-location-view-js.js:1722
          initialize http://v3.local/assets/ezplatform/build/ezplatform-admin-ui-location-view-js.js:1332
          i http://v3.local/assets/ezplatform/build/ezplatform-admin-ui-location-view-js.js:193
          map http://v3.local/assets/ezplatform/build/ezplatform-admin-ui-location-view-js.js:5482
          js http://v3.local/assets/ezplatform/build/ezplatform-content-comparison-js.js:14
          forEach self-hosted:235
          js http://v3.local/assets/ezplatform/build/ezplatform-content-comparison-js.js:11
          js http://v3.local/assets/ezplatform/build/ezplatform-content-comparison-js.js:31
          __webpack_require__ http://v3.local/assets/ezplatform/build/runtime.js:80
          94 http://v3.local/assets/ezplatform/build/ezplatform-content-comparison-js.js:5590
          __webpack_require__ http://v3.local/assets/ezplatform/build/runtime.js:80
          checkDeferredModules http://v3.local/assets/ezplatform/build/runtime.js:46
          webpackJsonpCallback http://v3.local/assets/ezplatform/build/runtime.js:33
          <anonimowa> http://v3.local/assets/ezplatform/build/ezplatform-content-comparison-js.js:1
      

      Reporting as EZEE ticket because of the content-comparison in stacktrace.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            marek.nocon@ez.no Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: