[jira] [Commented] (OFBIZ-10834) Uploading image to data resource

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10834) Uploading image to data resource

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165678#comment-17165678 ]

ASF subversion and git services commented on OFBIZ-10834:
---------------------------------------------------------

Commit 95d3aadcb5f34c98741f7ac877b893fd75044f5b in ofbiz-framework's branch refs/heads/release17.12 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=95d3aad ]

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

Conflicts handled by hand


> 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)