Commit Graph
92 Commits
Author SHA1 Message Date
Jacques Le Roux 622a2a5c36 A patch from Pierre Smits for "Scrum total billing cause exception" https://issues.apache.org/jira/browse/OFBIZ-6600
"import java.sql.Timestamp;" was missing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1701819 13f79535-47bb-0310-9956-ffa450edef68
2015-09-08 15:14:47 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Jacques Le Roux 35a56b13e0 A patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
Removes the lines related to the ViewSprintItem lines after a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 16:48:18 +00:00
Jacques Le Roux b92c8c1bf4 A modified patch from Pierre Smits related with "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
jleroux: rather than removing I rather commented out the lines related to the ViewSprintItem lines in case the original author decides to use it. I will remove in a week

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684129 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:39:39 +00:00
Jacques Le Roux b7c4773ae6 Comments out unused form in Scrum. Thanks to Pierre Smits report at "Form ViewSprintItem is not referenced in screens" https://issues.apache.org/jira/browse/OFBIZ-5975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684128 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:31:28 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Deepak Dixit 493bdffa18 OFBIZ-5974: Fixed entity-one tag error for ListProdBacklogNote and ListTaskNote forms.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679746 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 14:35:12 +00:00
Deepak Dixit dc402b9ef8 OFBIZ-5974: Reverting incomplete commit r#1679743
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679744 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:52:43 +00:00
Deepak Dixit aa94d7eb2c OFBIZ-5974: Added missing value field for entity-one tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1679743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-16 12:50:16 +00:00
Jacques Le Roux eb9a2a20bf "Have a readme in every component" https://issues.apache.org/jira/browse/OFBIZ-6243
Here are the manufacturing, projectmgr and scrum README files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672904 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 17:21:34 +00:00
Nicolas Malin 7d94967a68 Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Adrian Crum f315f0d5be Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Deepak Dixit fcbf5ce772 Moved parentCustRequestId relationship for CustRequest entity from order/entitymodel.xml to scrum/entitymodel.xml, as parentCustRequestId defined in scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 10:33:39 +00:00
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacques Le Roux 1a585cf8d9 A patch from Pierre Smits for "Form TotalProdBacklog has typo in link" https://issues.apache.org/jira/browse/OFBIZ-5979
This bug was introduced in commit: http://svn.apache.org/viewvc?view=revision&revision=1142915

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652739 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:38:17 +00:00
Jacques Le Roux b8ca5543c9 Changes in all labels files: <value xml:lang="(.*)_(.*)"> to <value xml:lang="$1-$2">
Changes also listLocales.ftl to show dashes rather than underscores

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1650880 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 09:59:32 +00:00
Adrian Crum 91feff5f51 Updated the UI label files so they reference a schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1649666 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 21:24:18 +00:00
Ashish Vijaywargiya d267053dc7 Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya f19b8bdfe7 Reverting r1646165. It seems that changes that we did for <property-to-field> are not needed. I will commit the new changes soon.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646191 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 10:49:41 +00:00
Ashish Vijaywargiya d3e50d1e18 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya fa7cb8eb15 Applied recent patch from jira issue - OFBIZ-5902 - Fetch configurable settings data driven by replacing UtilProperties.getPropertyValue() method with EntityUtilProperties.getPropertyValue().
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646165 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 07:57:56 +00:00
Adrian Crum e5a06480cd Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Ashish Vijaywargiya ef5ba3d6dc Applied patch from jira issue OFBIZ-5844 - Convert java files to EntityQuery.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642398 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:00:37 +00:00
Jacques Le Roux 893c32ed9c Removes an useless log entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639862 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:12:53 +00:00
Jacques Le Roux cb367d0dff Comments out <log always> logs found in ScrumServices.xml. I guess they were forgotten. Found in the error.log where <log always> also shows as FATAL (weird but I did not check why, can be useful also as proved here :D )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635719 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 08:18:05 +00:00
Scott Gray 44e2c4fda1 Regex search/replace for delegator.findOne() to EntityQuery.queryOne()
Apologies for the large commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635383 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 04:18:05 +00:00
Scott Gray 96cd99914e Remove unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1634027 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 08:28:47 +00:00
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
Ashish Vijaywargiya aff06fcbc6 Applied the patch OFBIZ-4902_specialpurpose.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@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux 476d1586d3 Temporary removes this SECA to check the build in Buildbot works the same than here.
Unfortunately the infrabot is not able to re-run at demand at the moment, see https://issues.apache.org/jira/browse/INFRA-7642

So this is rather a build test, we still have to fix this issue (not enough time atm)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1596506 13f79535-47bb-0310-9956-ffa450edef68
2014-05-21 07:58:51 +00:00
Jacques Le Roux 516a3b0299 Removes useless entried in ofbiz-component.xml files
Indicates what to do in README for accounting optional libs

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1595658 13f79535-47bb-0310-9956-ffa450edef68
2014-05-18 19:00:58 +00:00
Jacques Le Roux eebc19f52f A patch from Pierre Smits for "Scrum component contains private email addresses" https://issues.apache.org/jira/browse/OFBIZ-5623
The demo data of the scrum component contains various email addresses that are not compliant with normal demo email adresses

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1589625 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 07:44:34 +00:00
Jacopo Cappellato 5a007dc16c Fixed warning due to missing entity fields generated by imperfections in unit tests; thanks to Adrian Crum for the report OFBIZ-5168
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1581386 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 15:53:20 +00:00
Jacques Le Roux 4d9e447e11 Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacques Le Roux 4c3e9b7ec8 No functional changes:
Removes all remaining unchecked warnings
Automatically adds some @Override

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1551207 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 13:30:46 +00:00
Jacques Le Roux 53ccd2ceb7 Fixes "Overview of routings does not paginate" https://issues.apache.org/jira/browse/OFBIZ-5322 and more
Actually it does paginate but the value is not dependent on widget property widget.form.defaultViewSize which default value is 20. It uses a default value of 50 which is defined by

<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="3"/>

You can easily test it using https://localhost:8443/manufacturing/control/FindRouting?VIEW_SIZE=3

This is legacy from pre Apache era. I found 143 cases where a default-value is defined in screens for VIEW_SIZE.

I did not look into details for the 143 cases but I believe most are also legacy.
There are few default values: 10, 20, 30, 50, 500 and even an extreme case of 10000 for InventoryItemTotalsExport!
There is only one comment for LookupBulkAddProducts which is also legacy: <!-- 10 rows seems more appropriate given screen size, etc. -->

I suggest to OOTB replace all those by the widget.form.defaultViewSize value.
Things will then be consistent and easily changeable on a global scale using the widget property.
Or if really needed forcing the default-value as it's done now.

So this would be applied on the 143 cases (I checked, viewSizeDefaultValue does not exist in any screen)

<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526387 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 05:55:32 +00:00
Jacopo Cappellato fa8adb6694 In preparation for the selective disabling of specialpurpose components as a default (when trunk is checked out, built, unit tested, run): explicitely added the "enabled" attribute to all the ofbiz-component.xml files of specialpurpose applications; for now they are all set to "true" (that is the default value) and so this commit will not change the behavior of the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:21:52 +00:00
Jacques Le Roux 830f9f7b91 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for projectmgr, scrum, service, webpos and webtools components. These are the last 5 components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1448350 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:50:33 +00:00
Jacques Le Roux ecd2de6362 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Completed Japanese translation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1412997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 17:35:16 +00:00
Jacques Le Roux afe62dee1a Extended from a Tom Burns's patch at https://issues.apache.org/jira/browse/OFBIZ-4851
To reproduce:
1. In Catalog Manager select the Products menu
2. Click find
3. Click product id GZ-1006-1
4. Click Locations tab
5. In Add Facility Location screenlet select Web Store Warehouse from the Facility Id drop-down list
6. In the Location Seq Id pop up window select Facility Id Web Store Warehouse click find.
7. Select a Location Id
8. In Add Facility Location click Add

Expected: Add location to product record
Actual:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations (Return value from use-when condition eval was not a Boolean: null [null] on the field facilityName of form UpdateProductFacilityLocations)

jleroux: I found some other same cases and fixed them the same way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1399539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-18 07:14:35 +00:00
Erwan de Ferrieres 6416aa064e Removing non-existing nodes in simple-method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369434 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 20:57:14 +00:00
Erwan de Ferrieres 26c314fa2b Fixing the javadoc for ScrumServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1369358 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:19:46 +00:00
Jacopo Cappellato bf8f4a1308 Removed invalid references to non existing resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 09:54:02 +00:00
Jacopo Cappellato 20f08138b9 Fix for wrong path name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:06:15 +00:00
Jacopo Cappellato 66c2fac9d4 Removed duplicated service implementations (there were 2 copies in the same file).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364218 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:03:34 +00:00
Jacopo Cappellato d6b537d0cc Fixed wrong path to data file in the scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355491 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 18:16:47 +00:00
Hans Bakker bd16dfb598 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker 14f4e5a292 reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker fff7f99081 introduced a new data-reader : 'security'
Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .
It is still loaded as part of the reader 'demo'

to load the security files:
./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00