Commit Graph
14503 Commits
Author SHA1 Message Date
Jacques Le Roux 5ebc58cc6a An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
jleroux: some changes I spotted in Nick Ho's patch which sounded sound to me. Some groups of label internal ending white spaces would have been caught by HTML rendering, but anyway better like that.
I also fixed a number of wrong line returns. And found duplicates zh labels entries that I will report to Nick Ho to fix. And finally fixed some errors introduced by Nick Ho I spotted, I hope there are not too much left :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625893 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:54:04 +00:00
Jacques Le Roux 3b118d4842 An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.

jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed  dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 20:44:07 +00:00
Jacques Le Roux 1c32c00b3e Fixes a bug introduced with commits for OFBIZ-4902.
When you replace the Freemarker if_exists built-in with the ! operator, when the ! is followed by a + you need to evaluate the expression conditioned by the ! 1st. Else the following chars are used as default value. In other words, you need to put parenthesis around the expression including the ! operator
I tested with tomahawk/includes/appbarClose.ftl and header.ftl files of bluelight and droppingcrumbs themes
I then applied the same scheme on catalog/categorydetail.ftl, party/editShoppingList.ftl, ebaystore/store/returnPolicy.ftl and party/findparty.ftl w/o testing. I guess it's ok
I did not find the same scheme elsewhere

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624876 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:22:18 +00:00
Vikas Mayur 31e2bf5642 Use the prop() method to change/retrieve DOM properties like checked, disabled state of form elements as recommended in jQuery API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624244 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 10:03:34 +00:00
Jacques Le Roux 8f8a5ce868 Updates from poi-3.9-20121203.jar to poi-3.10.1-20140818.jar for security reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623370 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 12:27:35 +00:00
Jacopo Cappellato c907d4dbe2 Removed old, not maintained and never really used integration with the Apache Velocity template engine.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622980 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:57:19 +00:00
Jacopo Cappellato 75fe5a9107 Removed the old UtilJ2eeCompat util class that was probably created for compatibility with some old application servers.
UtilJ2eeCompat was used to figure out, by checking the servlet container implementation, if the response should be sent using a Writer or a OutputStream; a Writer was used for Tomcat, Websphere, Jetty, Orion, Jrun, Tradecity and an OutputStream was used for all the other servlet containers.

However accordingly to the Servlet api:

ServletResponse.getWriter():
         Returns a PrintWriter object that can send character text to the client.
ServletResponse.getOutputStream():
         Returns a ServletOutputStream suitable for writing binary data in the response.

Based on this getWriter() should always be used (for html pages) in all the containers, not just Tomcat, Websphere, Jetty, Orion, Jrun, Tradecity.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622976 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:32:25 +00:00
Scott Gray 3778bb24f4 Replace dead code with a try/catch block that could actually get hit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622779 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 20:01:28 +00:00
Scott Gray 9ee6b36638 Add/correct some generics markup and remove some unused SuppressWarnings annotations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622778 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 19:51:56 +00:00
Jacques Le Roux 59c004530a A patch from Julien NICOLAS for "Wrong label in Product Config Item" https://issues.apache.org/jira/browse/OFBIZ-5753
In the screen Product Config, when you want to add a componant to your config option, the label is wrong because it show : Add Configurations and not Add a component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622672 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 10:11:54 +00:00
Adrian Crum d81bf5b0c4 Bug fix: Limit internal organization list to parties that have the internal organization role.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622246 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 13:25:21 +00:00
Jacques Le Roux 4d28c3174a A patch from Nicolas Malin for "Convert Party entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5750
I converted CRUD service to entity-auto for :
  PartyRole
  PostalAddressBoundary
  PartyClassification
  PartyClassificationGroup
  PartyAttribute
  Vendor
  PartyCarrierAccount

Only entity with their services present on PartyServices.xml

I change the PartyRole  attributes service like that
{code}
-        <attribute name="partyId" type="String" mode="IN" optional="true"/>
-        <attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
{code}
The currently simple method haven't a specific resolution if the partyId isn't pass, so the service failed with database constraint error.

I run manual test from Party Profile screen with success (except for PostalAddressBoundary that haven't standard screen, so call by runService) and I run ./ant clean-all load-demo run-tests without error

jleroux: after looking at
https://issues.apache.org/jira/browse/OFBIZ-585
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyRoleServices.java?view=markup&pathrev=522473
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml?r1=524899&r2=524898&pathrev=524899
and content of ServiceUtil.getPartyIdCheckSecurity()

I agree with Nicolas about createPartyRole and deletePartyRole, we can neglect having PARTYMGR_CREATE for creating/deleting a party role

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622161 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 03:55:32 +00:00
Jacques Le Roux b74da066f1 Changes for "Add/Revise Traditional Chinese (zh-TW) translations in framework" https://issues.apache.org/jira/browse/OFBIZ-5737 after an exchange between Shi Jinghai and Nick Ho. We really miss a Chinese committer :D
What I did (jleroux):
1. I used <value xml:lang="zh_TW">阿富汗尼</value>
2. I used <value xml:lang="zh_TW">內容管理系統站台</value>
3. I did not change
4. I did not change
5. I used <value xml:lang="zh_TW">此</value>, noticed that: <value xml:lang="zh"> </value>
6. I did not change
7. I used <value xml:lang="zh_TW">度量單位</value> (several places)
8. I did not change

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622124 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 21:04:14 +00:00
Jacques Le Roux 48c1327413 A patch from Ritu Raj Lakhera for "Forgot password functionality is not honoring the 'password.lowercase' property of 'security.properties'" https://issues.apache.org/jira/browse/OFBIZ-5745
Forgot password functionality (LoginEvents.emailPassword) is not honoring the 'password.lowercase' property of 'security.properties'. And thus customer is not able to Login on e-commerce site with new generated password.
Test Case:
1. Set property 'password.lowercase' as true in 'security.properties'.
2. Request a forgot password and customer get the new password as 'a0e7J'
3. Customer is not able to login on e-commerce site.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622050 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 16:17:36 +00:00
Jacopo Cappellato 1830aee2c7 Removed old code for JPublish
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1622010 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 14:18:17 +00:00
Jacopo Cappellato b939882980 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621976 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 13:13:45 +00:00
Jacopo Cappellato 5dc38e6d35 Misc cleanups to some groovy scripts (no functional changes).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621956 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 10:20:21 +00:00
Jacopo Cappellato b299e33825 Replaced * notation with specific class inclusion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621952 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 09:36:58 +00:00
Jacopo Cappellato 2a6a8e7347 Misc cleanups to the SimpleContentViewHandler class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621950 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 09:30:23 +00:00
Jacques Le Roux 5e87e1ea1a A patch from Nicolas Malin for "Convert ProductStore entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5741
I converted CRUD service to entity-auto for :

    ProductStoreCatalog
    ProductStorePaymentSetting
    ProductStoreEmail
    ProductStoreVendorPayment
    ProductStoreShipMeth
    ProductStoreRole
    ProductStoreKeywordOvrd
    ProductStoreSurveyAppl
    ProductStoreFinActSetting
    ProductStoreVendorShipment

I keep to service in mini lang ProductStore.
I add a new permission service on product store with the same template of produt and productCategory for more homogeneity.

I run manual test create/update/delete from product store screen with success and I run ./ant clean-all load-demo run-tests without error

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621937 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 07:10:35 +00:00
Jacques Le Roux 16d8d2a132 A patch from Nicolas Malin for "Convert CostComponent and Subscription entites CRUD service from simple to entity-auto" https://issues.apache.org/jira/browse/OFBIZ-5742
I converted CRUD service to entity-auto for :
  CostComponent
  Subscription (only update)
  SubscriptionResource
  SubscriptionCommEvent

I ran manual test create/update/delete from product and subscription screen with success and ./ant clean-all load-demo run-tests without error


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621699 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 08:16:43 +00:00
Adrian Crum 00d61094d0 Removed some references to GenericDelegator concrete class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621436 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 09:00:39 +00:00
Adrian Crum d01b589e78 Fix broken contact mechanism screenlet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621363 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 18:59:02 +00:00
Vikas Mayur 2f3a932588 Small code improvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621109 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 09:56:11 +00:00
Jacopo Cappellato c00fc92699 Merged framework-api-cleanup branch into trunk.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620538 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 09:16:52 +00:00
Jacopo Cappellato 21d3cc70e3 Removed/simplified applications code that was checking the serverstats properties to log some warning messages about vist/visitor tracking being disabled: this is not required since the warnings are already generated by the VisitHandler.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620514 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 05:50:50 +00:00
Jacques Le Roux abaf31653f Useful comment I forgot to commit with r1612202
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618574 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:25:34 +00:00
Jacques Le Roux 817cd610e7 [Rhino] Trailing comma is not legal in an ECMA-262 object initializer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618570 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:17:45 +00:00
Ashish Vijaywargiya 418d836a53 Based on Adrian's recent comment, committing the changes from OrderReturnServices.xml file. Thanks ofbiz.us team for providing updated patch.
==============================================================
Please do not use the <calculate> element. Mini-language supports UEL:

<set field="totalsMap[receipt.returnItemSeqId]" from="receipt.quantityAccepted + receipt.quantityRejected />

Also, the <set> element "from-field" attribute has been deprecated, use "from".

Mini-language has an updated schema, it would be best if you configured your XML editor to use it.
==============================================================

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618569 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:10:57 +00:00
Adrian Crum 14a110880b Fix grammar in service error message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618458 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 05:52:19 +00:00
Ashish Vijaywargiya 03257ca2a9 Applied patch from jira issue - OFBIZ-3566 - EcommerceUiLabels references in applications/*
Thanks Adam Heath for reporting the issue and team ofbiz.us for providing the fix. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618415 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:53:55 +00:00
Ashish Vijaywargiya 8375e62731 Applied fix from jira issue - OFBIZ-5392 - Return Item received quantity does not updated correctly in case of partial receiving.
Thanks Deepak for reporting the issue and team ofbiz.us for providing the fix for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618412 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:41:54 +00:00
Anil Patel 6e9e7586c8 [OFBIZ-4459] call to Quickshipdrop should be make on approved orders. Thanks to Kiran Gawde and ofbiz.us team for contributions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618411 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:40:20 +00:00
Ashish Vijaywargiya 7fb814e5c6 Applied patch from jira issue - OFBIZ-5716 - Gift card fullfillment service is not getting triggered.
Thanks ofbiz.us team for reporting the issue and providing the fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618409 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:22:56 +00:00
Anil Patel c2feebdb00 [OFBIZ-5715] good usability fix. Thanks for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618407 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:52:24 +00:00
Ashish Vijaywargiya 039c228edc Applied patch from jira issue - OFBIZ-5480 - Product Costs page missing lookup controls in creation section.
Thanks Christian Carlow for reporting the issue and thanks to ofbiz.us team for providing patch for the issue. 
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618406 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:45:41 +00:00
Ashish Vijaywargiya 2c37d26344 Applied fix from jira issue - OFBIZ-4209 - Incorrect logging for InvoiceServices, OrderServices and QuoteServices.
Thanks  Rene Scheibe for reporting the issue and providing the fix for the same. Thanks ofbiz.us team for the verification. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618399 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:00:05 +00:00
Anil Patel db58c60d0c [OFBIZ-5456] Reading Logo SystemProperty from database. Tested for working in Multi tenant deployment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618395 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:32:50 +00:00
Anil Patel 6598ed831d [OFBIZ-5424] Now creating status items for promotion order items. Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618378 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 16:02:32 +00:00
Anil Patel 495dab207d [OFBIZ-5515] Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618365 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 14:21:28 +00:00
Ashish Vijaywargiya 432a04d42f Applied patch for bug fix reported in jira task at OFBIZ-4973 - AvsSettings screenlet read data bug, entity-one should be used, not entity-and.
Thanks Oliver for reporting the issue and providing the fix. Thanks team ofbiz.us for the verification. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618359 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:55:15 +00:00
Anil Patel 11172f28dc [OFBIZ-5654] Applying patch from the ticket. Thanks Pierre Smits for reporting and ofbiz.us team for fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618358 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:50:30 +00:00
Ashish Vijaywargiya 9400eb990f Applied patch from jira issue - OFBIZ-5455 - images not stored in SystemProperty location. Thanks Pierre for reporting the issue and thanks to ofbiz.us team for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618354 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:12:34 +00:00
Anil Patel b85d134ff2 [OFBIZ-5655] Check not null before accessing the variable. Thanks Pierre Smits for reporting and ofbiz.us for fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618349 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 12:18:20 +00:00
Anil Patel 05ffd7242b [OFBIZ-5479] Minor markup changes fix the issue. Thanks to ofbiz.us team for providing fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618339 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:43:25 +00:00
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Adrian Crum aadc814ba3 Updated Commons CSV library to the official release version (the previous version was a release candidate).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618332 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:22:36 +00:00
Anil Patel e88dd318f7 [OFBIZ-3428] Now order entry process buttons are visible. Thanks Erwan de FERRIERES for the report and ofbiz.us team for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618311 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 06:29:33 +00:00
Jacques Le Roux f6137e5005 No functional changes, only blocks moves and formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1617971 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 15:18:50 +00:00
Jacques Le Roux 3ec515d897 A patch from Pierre Smits for "ListEmplPositionFulfillments links to wrong profile of employee" at https://issues.apache.org/jira/browse/OFBIZ-5708
Instead it should link to EmployeeProfile of the employee.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1617229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 09:10:42 +00:00