It was missing a paginate-target, hence the default target was used and, as it's updatePaymentMethodType, a security issue was raised when changes have occurred before the pagination. There are maybe other cases like this that will pop up from time to time...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004139 13f79535-47bb-0310-9956-ffa450edef68
This patch allows you to tell FreeMarker if it should load the ftl files from cache or not as extension for the method description. If you have a few screens which shouldn't use the cache you can configure them separately. The use case is loading content with templates which are stored in the DB and can be modified during the runtime (CMS).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003943 13f79535-47bb-0310-9956-ffa450edef68
I committed Sascha's patch in trunk at r1003836, but I finally reverted it as I'm not sure the EcommerceUiLabels will be there in all cases. And I guess if it's there, there should be a reason... I must say I did not take the time to dig it further... Also looks like Sascha's use case is specific (no English Labels) and OFBiz OOTB is not specific.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003909 13f79535-47bb-0310-9956-ffa450edef68
Sascha: I noticed an issue in the sendOrderNotificationScreen method. There is no need of loading uiLabels in the method, because the labels will be loaded in the screen (which will be used for the email). The point is, when someone (for whatever reason) don't add English uiLabels and the service try to access the default English labels the an exception will be thrown . This can be simply avoided.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003836 13f79535-47bb-0310-9956-ffa450edef68
2. add “Export with Invoice and Payment as PDF” into “FindAcctgTransEntries” screen
3. add these properties to AccountingUiLabels.xml
- AccountingCostOfGoodsSold = Cost Of Good Sold
- AccountingGrossMargin = Gross Margin
- AccountingOperatingExpenses = Operating Expenses
- AccountingDepreciation = Depreciation
- AccountingIncomeFromOperations = Income From Operations
- AccountingCurrentAssets = Current Assets
- AccountingLongTermAssets = Long Term Assets
- AccountingTotalAccumulatedDepreciation = Total Accumulated Depreciation
- AccountingTotalAssets = Total Assets
- AccountingCurrentLiabilities = Current Liabilities
- AccountingTotalLiabilitiesAndEquities = Total Liabilities and Equities
- AccountingExportWithInvoiceAndPaymentAsPdf = Export with Invoice and Payment as PDF
4. change balance sheet PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
5. change trial balance PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
6. change income statement PDF report to using BIRT (re-arrange header fields and make report easier to be changed later)
7. add new PDF report to show acctg trans entry of invoice (refer from “Acctg Trans Entries PDF” menu item)
8. add new PDF report to show acctg trans entry of payment (refer from “Acctg Trans Entries PDF” menu item)
9. add new PDF report to show search result of acctg trans entries (show only invoice ID and payment ID columns)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003469 13f79535-47bb-0310-9956-ffa450edef68
1. Change Active list screen to be the Open List screen: Open screen shows the items that which have the active status in Ebay.
2. Merge the Sold- and the Unsold screen to be the Closed List screen: The Closed List screen shows the items that are sold and the items which are out of date.
3. Create the services to get transactions and orders from eBay and show it in the Transaction screen and Order screen.
4. Create the services to import the transactions and orders from eBay to OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003451 13f79535-47bb-0310-9956-ffa450edef68
Sascha: We noticed that OFBiz was sending cache clears over JMS every time the job sandbox is changed. That's not a problem with one OFBiz Instance but with 20, when every instance is sending JMS messages to each other ... you can imagine...
Scott: I'd agree with this, there is really no good reason to cache JobSandbox values even though I don't believe any code does this at the moment. On a side note I ran into some problems with the Job Poller when it's under a heavy load recently and as soon as I get a chance I'll be working to reproduce and fix the issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003418 13f79535-47bb-0310-9956-ffa450edef68
BJ: Login from ecomerce as DemoCustomer
click on
Create Customer Request
put in product # WG-1111
click on Add to cart
Following Errors Occurred:
Customer Request should have a 'Name' if not in the draft status
Hans: We decided that a customer request needs a name of the request when it is not in the draft status.
I try to find the 'create customer request' option in e-commerce but i cannot find it.
Attached a diff file which could solve the problem, but could not test it. of course need internationalisation.
JLR: I provided the i18n, but weirdly it always render in English (I tested in French and double-checked the labels I created)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002963 13f79535-47bb-0310-9956-ffa450edef68
It may be used by a checkUomConversion javascript which uses the getServiceResult. I put it in the getDependentDropdownValues.js file for the moment. But anyway at term I will refactor all these Ajax related scripts (like in selectall.js) in a specific file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1002353 13f79535-47bb-0310-9956-ffa450edef68
According to http://ws.apache.org/axis2/:
1.5.2 is a maintenance release to fix the security issue described in CVE-2010-1632 as well as an XSS vulnerability in the admin console and some other minor issues. It also upgrades Axiom to version 1.2.9.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001810 13f79535-47bb-0310-9956-ffa450edef68
(1) Save supplier information in inventory when receive product either by purchase order or direct.
(2) Shown suppler party id in searched inventory item results.
Thanks Akash for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001644 13f79535-47bb-0310-9956-ffa450edef68
While fetching shipping estimate it should compare countryGeoId instead shippingCountryCode. Now shipping rules along with quantity break will work without any issue.
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001185 13f79535-47bb-0310-9956-ffa450edef68
I found a problem when I switched from one app to another. The multi-tenant did not work if the username and password were the same in the main database and tenants (or different tenants). For example, the password of admin is ofbiz in main database and in DEMO1 tenant, first log in to catalog as admin of tenant DEMO1, and then switch to the content app, the data of content app is from the main database instead of DEMO1.
I debugged this problem, and the code was missing to check the userlogin tenant in checkExternalLoginKey.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001099 13f79535-47bb-0310-9956-ffa450edef68
A small improvement in the Accounting payment map procs.
The Credit card number was only checked if it is empty. After the patch the map proc checks if it is a valid credit card number.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1001098 13f79535-47bb-0310-9956-ffa450edef68