[jira] [Comment Edited] (OFBIZ-5891) Party Content Upload Ajax Is Broken

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

[jira] [Comment Edited] (OFBIZ-5891) Party Content Upload Ajax Is Broken

Nicolas Malin (Jira)

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

Jacques Le Roux edited comment on OFBIZ-5891 at 2/9/17 7:45 AM:
----------------------------------------------------------------

Here is the patch for this issue. This issue due to OFBIZ-5409

Added the  dataType: 'json', for getUploadProgressStatus method.
{code}
 [java] 2014-12-01 15:06:00,977 |ttp-bio-8443-exec-77 |CommonEvents                  |W| for security reason (OFBIZ-5409) the the '//' prefix was added handling the JSON response.  Normally you simply have to access the data you want, so should not be annoyed by the '//' prefix.You might need to remove it if you use Ajax GET responses (not recommended).In case, the util.js scrpt is there to help you
{code}


was (Author: deepak.dixit):
Here is the patch for this issue. This issue due to https://issues.apache.org/jira/browse/OFBIZ-5409

Added the  dataType: 'json', for getUploadProgressStatus method.
{code}
 [java] 2014-12-01 15:06:00,977 |ttp-bio-8443-exec-77 |CommonEvents                  |W| for security reason (OFBIZ-5409) the the '//' prefix was added handling the JSON response.  Normally you simply have to access the data you want, so should not be annoyed by the '//' prefix.You might need to remove it if you use Ajax GET responses (not recommended).In case, the util.js scrpt is there to help you
{code}

> Party Content Upload Ajax Is Broken
> -----------------------------------
>
>                 Key: OFBIZ-5891
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5891
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Release Branch 13.07, 14.12.01
>            Reporter: Adrian Crum
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 14.12.01, 12.04.06, 13.07.02
>
>         Attachments: OFBIZ-5891.patch
>
>
> When you upload Party Content, an "Upload..." message appears next to the Upload button, but it never goes away. While still on the same screen, check the OFBiz console - the getFileUploadProgressStatus request is invoked once per second indefinitely.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)