[
https://issues.apache.org/jira/browse/OFBIZ-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165624#comment-17165624 ]
ASF subversion and git services commented on OFBIZ-10834:
---------------------------------------------------------
Commit 03081897c6889eb5c48d14673eea735bf6daf055 in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=0308189 ]
Fixed: Inconsistent String Comparisons (OFBIZ-9254) & Uploading image to data resource (OFBIZ-10834)
Changes made in startsWith and indexOf methods in ContentManagementServices
for OFBIZ-9254 where wrong (reversed). Fortunately only place where this happened.
I added a comment to make clear why we have 2 empty else if
I'll backport later, conflicts to handle by hand...
Thanks: Ankush Upadhyay for spotting the bug
> Uploading image to data resource
> --------------------------------
>
> Key: OFBIZ-10834
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10834> Project: OFBiz
> Issue Type: Bug
> Components: content
> Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
> Reporter: Ingo Wolfmayr
> Assignee: Jacques Le Roux
> Priority: Major
>
> Content --> DataResource --> "Create new"
> * Data Resource Id: some Id
> * Data Resource Type Id: local file
> --> "create"
> --> Upload --> "select local file" --> upload
> The result is no file uploaded. No error message.
> It works fine in ofbiz 16.11
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)