Searched out in ups shipping document and found that we should pass this fractional weight to ups to its next full weight. For example 0.5 will be sent as 1.0 and 1.2 will be sent as 2.0 etc. Here is the link: http://www.ups.com/content/us/en/resources/prepare/oversize.html
search for this text "Determine the Actual Weight" in this link.
Having come to know this fact I converted boxWeight.intValue() code into boxWeight.setScale(0, boxWeight.ROUND_CEILING) which solves this purpose which is given in above mentioned link.
Patch from Vivek Mishra(Thanks!)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981025 13f79535-47bb-0310-9956-ffa450edef68
Matthieu thought it could be related to double quotes in labels when actually it was the conjunction of double quotes *AND* the word locale that Freemarker tried to interpret
the error was
2010-07-24 18:20:26,718 (http-0.0.0.0-28443-2) [MacroScreenRenderer.java:101:ERROR]
---- exception report ----------------------------------------------------------
Error rendering screen macro [<@renderScreenletBegin id="" title="Mise Ó jour des champs descriptifs de la fiche article (Ó supprimer si vous voulez utiliser "alternate locale", autrement dit traduire)" colla
psible=false saveCollapsed=true collapsibleAreaId="" expandToolTip="" collapseToolTip="" fullUrlString="" padded=true menuString="" showMore=true collapsed=false javaScriptEnabled=false />] thru ftl
Exception: freemarker.core.ParseException
Message: Encountered "locale" at line 1, column 140 in Sat Jul 24 18:20:26 CEST 2010.
Was expecting:
"=" ...
---- stack trace ---------------------------------------------------------------
freemarker.core.ParseException: Encountered "locale" at line 1, column 140 in Sat Jul 24 18:20:26 CEST 2010.
Was expecting:
"=" ...
I checked, there were not any other cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978893 13f79535-47bb-0310-9956-ffa450edef68
Error in Screen Ap -> Invoices -> Commission Run.
The following error screen appears when we click on find button with
partyId - Demo Agent (DemoCustAgent)
fromDate - (set current date)
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/ap/InvoiceScreens.xml#CommissionRun: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection (java.lang.String cannot be cast to java.util.Collection)
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@978806 13f79535-47bb-0310-9956-ffa450edef68
NPE in the financial account services when creating a financial account for a store. The error occurred when the accountValidDays is empty. The thru date can not be set.
This patch covers this issue by checking if accountValidDays is empty or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@967098 13f79535-47bb-0310-9956-ffa450edef68
I began by stumping upon the default page labels. The wording I certainly done some years ago without checking all changes in the UI was not really clear. So I wanted to remove the Id (référence in French) part but as we use really an Id there (and not a name or description or what not) I preferred to keep the Id concept. Then, while at it, I checked all the file to be consistent. I have not the courage to do it in all OFBiz :/
So the idea is to keep the Id words (référence, Réf. or sometimes [Réf.]) to make clear that in those places in OFBiz OOTB we use an Id. This because in some custom application we could prefer to use a name (for instance for lookup, or text field, display, etc.) and when you begin to mix the two things begin to be really less clear...
In one word, when you remove a "référence" word, please be careful... (sometimes it makes sense because nothing else could be there, for instance for UOM which are abbrev and may be considered name even if actually they are Id, but it's really subjective and I'd prefer to make the difference real clear: an Id is not a name and a name may be used too)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@966525 13f79535-47bb-0310-9956-ffa450edef68
The screen "EditProductStorePaySetup" in "OFBIZ_HOME/applications/product/widget/catalog/StoreScreens.xml" (that is, section "Payments" of one Product Store, at Catalog app) has a security tag with wrong syntax.
It causes that users with right permissions cannot add new payments to the store.
You can test it here: https://demo-trunk.ofbiz.apache.org:8443/catalog/control/EditProductStorePaySetup?productStoreId=9000 logged as "flexadmin". The form at the bottom (titled "Edit Product Store Payment Setup") doesn't appear.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@965470 13f79535-47bb-0310-9956-ffa450edef68