Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12273

IndexOutOfBoundsException on Entity Import

    XMLWordPrintableJSON

Details

    Description

      I get an IndexOutOfBoundsException when using the EntityImport.

      The problem occurs while having a resemblance of an url in the data.

      For example '

      screenPath="component://project/widget/project/ContentScreens.xml#main-page-template"' is interpreted as url because of '://' but doesn't match a valid url pattern. 

      The problem seems to be directly connected to Issue OFBIZ-12249. I think the used pattern in UtilHttp.exctractUrl() should at least be configureable like the customSafePolicy. jleroux maybe you can have a look since you implemented the changes.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              Sebastian Berg Sebastian Berg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: