[jira] Created: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

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

[jira] Created: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

Nicolas Malin (Jira)
NPE while ferching Product Additional Views using ProductContentWrapper
-----------------------------------------------------------------------

                 Key: OFBIZ-2134
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2134
             Project: OFBiz
          Issue Type: Bug
          Components: product
    Affects Versions: SVN trunk
            Reporter: Mridul Pathak
             Fix For: SVN trunk


NPE occurs when Product Additional Views are fetched using ProductContentWrapper.  dataResourceTypeId while saving additional view in "addAdditionalViewForProduct" service needs to be changed to "SHORT_TEXT" instead of current "URL_RESOURCE".  Then image can be rendered using <@ofbizContentUrl> tag.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mridul Pathak updated OFBIZ-2134:
---------------------------------

    Attachment: OFBiz-2134.patch

Here is the patch.

> NPE while ferching Product Additional Views using ProductContentWrapper
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2134
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2134
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Mridul Pathak
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2134.patch
>
>
> NPE occurs when Product Additional Views are fetched using ProductContentWrapper.  dataResourceTypeId while saving additional view in "addAdditionalViewForProduct" service needs to be changed to "SHORT_TEXT" instead of current "URL_RESOURCE".  Then image can be rendered using <@ofbizContentUrl> tag.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya reassigned OFBIZ-2134:
------------------------------------------

    Assignee: Ashish Vijaywargiya

> NPE while ferching Product Additional Views using ProductContentWrapper
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2134
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2134
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Mridul Pathak
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2134.patch
>
>
> NPE occurs when Product Additional Views are fetched using ProductContentWrapper.  dataResourceTypeId while saving additional view in "addAdditionalViewForProduct" service needs to be changed to "SHORT_TEXT" instead of current "URL_RESOURCE".  Then image can be rendered using <@ofbizContentUrl> tag.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur reassigned OFBIZ-2134:
----------------------------------

    Assignee: Vikas Mayur  (was: Ashish Vijaywargiya)

> NPE while ferching Product Additional Views using ProductContentWrapper
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2134
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2134
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Mridul Pathak
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2134.patch
>
>
> NPE occurs when Product Additional Views are fetched using ProductContentWrapper.  dataResourceTypeId while saving additional view in "addAdditionalViewForProduct" service needs to be changed to "SHORT_TEXT" instead of current "URL_RESOURCE".  Then image can be rendered using <@ofbizContentUrl> tag.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2134) NPE while ferching Product Additional Views using ProductContentWrapper

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2134.
------------------------------

    Resolution: Fixed

Thanks Mridul, Pranay.

Patch is committed in rev. 736297

Vikas

> NPE while ferching Product Additional Views using ProductContentWrapper
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-2134
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2134
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Mridul Pathak
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBiz-2134.patch
>
>
> NPE occurs when Product Additional Views are fetched using ProductContentWrapper.  dataResourceTypeId while saving additional view in "addAdditionalViewForProduct" service needs to be changed to "SHORT_TEXT" instead of current "URL_RESOURCE".  Then image can be rendered using <@ofbizContentUrl> tag.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.