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

IndexOutOfBoundsException on Entity Import

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. Jacques Le Roux maybe you can have a look since you implemented the changes.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment