The my time entry screen for hours in Project Mgr shows labels (in English) for the hour columns in following order: sun, mon,tue,wen,thu,fri,sat.
However when entering hours on in e.g the mon(day) column the actual date registered for the hours is for tuesday.
Seems like the week starts on monday, not on sunday
JLR: works well, would need more work for those who prefer to have weeks start on Monday...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1062138 13f79535-47bb-0310-9956-ffa450edef68
Patch to export single product to ebay in ebay store component. Added require attributes in item and call request of export product to ebay after successfully verify item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061939 13f79535-47bb-0310-9956-ffa450edef68
I have changed ModelInfo.getCopyright() in order to automatize (I believe the copyright is always valid so we don't care about the date really used, if you disagree please let me know, I have a doubt about this...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061886 13f79535-47bb-0310-9956-ffa450edef68
To configure SagePay payment gateway transaction types settings.
JLR: this patch contains a bit of labels redundancy, but I prefer to keep them as is. At least it's verbs in Common and can be reused... (why have a Payment label in each app...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061728 13f79535-47bb-0310-9956-ffa450edef68
Patch for an issue in ebay component. Ebay category code may have more than 3 character so removed condition of ebay category code length.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061346 13f79535-47bb-0310-9956-ffa450edef68
Fix using TagLib in freemarker follow this.
1. In ControlServlet.java, create ServletContextHashModel instance and set to request's attritube
2. In ScreenRenderer.java, set ServletContextHashModel instance from request's attribute to context name Application and set HttpRequestHashModel instance from requestAttributes in context to context name Request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061310 13f79535-47bb-0310-9956-ffa450edef68
Steps to test issue:
1. Go to ebayStore -> main
2 Select any demo user account and click on submit
3 Click on Export Product Listing tab in menu
4 Search any product from find screen
5 Select product from list and click on Export To Ebay button
6 Select any ebay category from drop down
7 Change event of this select box is not working properly due to blocking of JS.
JLR: I 1st got caught by the surprising behaviour of the eBay Category drop down (you have to select sub-categs one after the others in the same drop drow), but yes it works (ie you can publish an OFBiz product in the eBay store)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061307 13f79535-47bb-0310-9956-ffa450edef68
I got a request to export a BIRT report as PDF file with custom file name. I attach a patch file for this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061295 13f79535-47bb-0310-9956-ffa450edef68
system will notify user that it is an invalid coupon code. Earlier the coupon code was accepted but wasn't applied. Also it was preventing the user to add
a correct coupon code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061192 13f79535-47bb-0310-9956-ffa450edef68
ShipmentServices contains some invalid duplicate code that doesn't perform a null check. I think it can just be removed as the correct code is located right below it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1061167 13f79535-47bb-0310-9956-ffa450edef68
The updateGiftCard service has the cardNumber parameter optional but will have an NPE if the card number is not given.
I'd suggest to make this parameter non optional, I'am not sure if a gift card without number makes much sense anyway...
JLR: I checked the code, it's the better solution IMO
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060933 13f79535-47bb-0310-9956-ffa450edef68
Sascha: There are some more issues in the groovy file
In entity field [ContentAssoc.fromDate] set the value passed in [java.lang.String] is not compatible with the Java type of the field [java.sql.Timestamp]
I'm not quite sure why this is going wrong. Maybe we have to explicitly create an Timestamp here.
DataResourceWorker.getDataResourceTextCache(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator);
should be replaced with
DataResourceWorker.getDataResourceText(dataResource, "text/html", Locale.getDefault(), templateRoot, delegator, true);
JLR: this patch allows now to create a content from CMSContentFind but I'm not quire sure all is resolved. I jave also set the fromDate field in the calling screen as Timestamp type, not sure it's needed but it can't hurt. Nevertheless I think there are still some issues. But at least now it does not break
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1060744 13f79535-47bb-0310-9956-ffa450edef68