[
https://issues.apache.org/jira/browse/OFBIZ-12273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17374948#comment-17374948
]
ASF subversion and git services commented on OFBIZ-12273:
---------------------------------------------------------
Commit b00aed6d2082d7358b37b3469ebf2e6777a222c7 in ofbiz-framework's branch
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b00aed6 ]
Fixed: IndexOutOfBoundsException on Entity Import (OFBIZ-12273)
My changes in OFBIZ-12249 were only to handle textareas.
The case Nicolas reported is not related to a textarea but to the special case
of KeywordSearchBox handled by KeywordSearchBox.ftl.
So this simply bypasses this special case using the "DUMMYPAGE" key then present
> IndexOutOfBoundsException on Entity Import
> ------------------------------------------
>
> Key: OFBIZ-12273
> URL: https://issues.apache.org/jira/browse/OFBIZ-12273
> Project: OFBiz
> Issue Type: Bug
> Affects Versions: 18.12.01, Release Branch 17.12, Trunk
> Reporter: Sebastian Berg
> Assignee: Jacques Le Roux
> Priority: Major
>
> 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 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)