[
https://issues.apache.org/jira/browse/OFBIZ-9133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aditya Sharma updated OFBIZ-9133:
---------------------------------
Attachment: ofbiz-9133.patch
Problem may exist for list form only.
Here the problem is :
1. FindReviews page includes "ListReviews" form to render this content.
2. Here "use-when" attribute is used with "field" element on "productRating" and "productReview" for conditions "statusId != 'PRR_DELETED'" and "statusId == 'PRR_DELETED'"
3. Citing documentation of "ignore-when": "This attribute is defined to enable ignoring a field on a form of type list or multi, which is not possible using use-when attribute".
4. So when condition is not true it renders a empty <td></td> causing data to be placed inappropriately
5. Here if the "use-when" attribute is replaced with "ignore-when" attribute it will make the columns to match with apt data.
Solution:
Replace "use-when" attribute with "ignore-when" attribute amending conditions used accordingly.
> grid does not render proper column data
> ---------------------------------------
>
> Key: OFBIZ-9133
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9133> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Wai
> Assignee: Aditya Sharma
> Attachments: ofbiz-9133.patch, ofbiz-9133-Problem1.png, ofbiz-9133-Problem2.png, ofbiz-9133-Solution.png
>
>
> -go to
https://localhost:8443/catalog/control/FindReviews> -find productId=GZ-2644
> -notice the table columns do not match the data
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)