You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Mridul Pathak (JIRA)" <ji...@apache.org> on 2009/01/21 09:58:59 UTC

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

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.


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

Posted by "Vikas Mayur (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Mridul Pathak (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Vikas Mayur (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
     [ 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.