[
https://issues.apache.org/jira/browse/OFBIZ-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wickersheimer Jeremy updated OFBIZ-1172:
----------------------------------------
Attachment: ofbiz-1172.patch
This patch tries to fetch the ProductStore entity that would be used in a
purchase order in the BSH file.
Then I display some useful details in the FTL: the ProducteStore name and id,
and the default currency. (this is useful for us but you can change that if you
want when comitting the patch).
Obviously, if no ProductStore is found then an error message is displayed in
the Purchase Order section with a link to the OrderEntry Website.
This patch may not be perfect: i think the links in the ftl should use some
special ofbiz tags, and the info displayed can be changed.
But the basic idea is good as it can save some headaches.
This is also a bit related to https://issues.apache.org/jira/browse/OFBIZ-1141
> Order Entry unclear error when no ProductStore set
> --------------------------------------------------
>
> Key: OFBIZ-1172
> URL: https://issues.apache.org/jira/browse/OFBIZ-1172
> Project: OFBiz
> Issue Type: Improvement
> Components: order
> Affects Versions: SVN trunk, Release Branch 4.0
> Reporter: Wickersheimer Jeremy
> Priority: Minor
> Attachments: ofbiz-1172.patch
>
>
> I ran into this issue because our staff accidentally removed the ProductStore
> from the OrderEntry Website. The symptom was an java NPE display when trying
> to create a Purchase Order.
> Because it took me some time to debug it i wrote a patch to make this
> behavior more obvious.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.