In reference to the discussion thread [1] below, we agreed to remove copyDtd
from build.gradle as it is not related to building OFBiz in a similar fashion
to the removal of the tools subdirectory from OFBiz.
In addition, this commit also removed the committers group label and renamed
the groups for svnInfoFooter and gitInfoFooter tasks.
[1] https://s.apache.org/xUSN
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1795541 13f79535-47bb-0310-9956-ffa450edef68
I found an inconsistency in the code for string comparison statusId.equals("PRUN_COMPLETED") whereas it should be written as "PRUN_COMPLETED".equals(statusId) cause the former can throw NullPointerException if the variable found to be NULL.
Thanks Devanshu Vyas for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1795342 13f79535-47bb-0310-9956-ffa450edef68
I found an inconsistency in the code for string comparison statusId.equals("PRUN_COMPLETED") whereas it should be written as "PRUN_COMPLETED".equals(statusId) cause the former can throw NullPointerException if the variable found to be NULL.
Thanks Devanshu Vyas for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1795341 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9256)
The tools folder contains only tools used by the OFBiz team and is of no help
for OFBiz users and could even be confusing. So this should not be delivered
with the OFBiz trunk, plugins or releases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794979 13f79535-47bb-0310-9956-ffa450edef68
with "id", "id-long" and "id-vlong" respectively which are primary keys
(OFBIZ-9354)
As discussed in http://markmail.org/message/d2tpovewhtotukwa the "not empty"
field types ("id-ne", "id-long-ne" and "id-vlong-ne") were initially added
to implement validations on data. But, because the validations where only
implemented in some place like webtools, it contradicts the distinction to be
upheld on various layers. So it is better to remove these field types.
So we will remove all those field types and will create sub tickets to replace
them in entity definitions by corresponding "id" types.
When replacing the "not empty" field types in entity definitions by
corresponding "id" types we will add a *not-null="true"* attribute to "makes
the field NOT NULL on the database (like primary key fields)" as explained in
"not-null" documentation in fieldtypemodel.xsd.
We will finally clean the documentation of the "not-null" in fieldtypemodel.xsd.
Deepak: If field is define as primary key field so by default is will be set as
not-null=true, so we can replace all the primary key field type from id-ne to id
in one shot.
Thanks: Deepak and Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794743 13f79535-47bb-0310-9956-ffa450edef68
screens for set element.
(OFBIZ-9251)
As stated in the discussion:
http://ofbiz.markmail.org/thread/hembr4hiabgwr7cs
"set-if-null" controls if field can be set to null and "set-if-empty" controls
if field can be set to an empty value. Both these attributes are supported by
"set" element of simple-method and similar support should be there on the screen.
jleroux: I fixed "if" formatting and added default="true" in widget-common.xsd
Thanks: Aditya Sharma
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794513 13f79535-47bb-0310-9956-ffa450edef68
When Adrian removed finished removing Javolution from the base component at
r1635910 https://s.apache.org/cwfE he routinely changed FastList to LinkedList
and FastMap to HashMap.
Actually those are just duplicates of ArrayList for LinkedList and strictly
HashMap for, er, HashMap.
This removes those useless line from the tests.
I wodered about it, but I hope noone will argue that we should keep LinkedList,
obviously ArrayList is enough there as a List implementation.
With this change the words fastlist and fastmap (case insensitive) no longer
exists in any OOTB files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794504 13f79535-47bb-0310-9956-ffa450edef68
Adds a mention about using component-load.xml file in the plugins directory
Small reformatting to better split the note
Make beware (deletes plugins dir) bold
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794130 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9322)
Completes r1793170
Removes duplicates data that should rather be in the PartyDemoData.xml
Moves and merges data from DemoPaymentsInvoices.xml to PartyDemoData.xml
Moves and merges data from DemoOrderTestData.xml to PartyDemoData.xml
Note that if later we want to have data located with tests data like those moved
from DemoOrderTestData might need to be located again in order component. But
anyway then a lot of data would need to be moved. For now we rely on the
components loading order defined in applications component-load.xml
Tests pass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794092 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9345)
An error occurs when the theme is set to *tomahawk* and
*security.login.externalLoginKey.enabled=false*
jleroux: using externalKeyParam in viewprofile fixes the issue.
But we don't need to create externalKeyParam in AppBarClose.ftl.
It already exists in context
Thanks: James Yong
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1794008 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9322)
Completes r1792866
This in DemoProduct.xml (accounting) duplicates the same in ProductDemoData.xml
It fit more in ProductDemoData.xml (product) so I remove it from DemoProduct.xml
Tests pass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793764 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9322)
This commit completes the removal of final dependency on plugins. After this
commit tests can run successfully on framework stand-alone. This is achieved by
removing portions of failing tests described in more detail in below ML thread
Discussion thread: https://s.apache.org/3fiL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793633 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9322)
Further removed dependencies on demo data defined in ecommerce by modifying
the following data items:
- Move the DemoSupplier demo data from ecommerce to accounting
- Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
This brings down total failing tests to only two
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1793170 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9322)
This is the first commit to removed dependencies on the ecommerce plugin data
by moving the following files to applications:
- DemoStandardCosting to applications/accounting/data/
- DemoOrderPeopleData.xml to applications/order/data/
- DemoOrderTestData.xml to applications/order/data/
- DemoProduct.xml to applications/order/data/
- DemoRentalShipping.xml to applications/order/data/
- DemoShipping.xml to applications/order/data/
Also modified some data on the below files to fix dependency order
- applications/product/data/ProductDemoData.xml
(move facility data needed for tests from plugins)
- applications/marketing/data/sfaDemoData.xml
(move data to DemoOrderPeopleData.xml)
- applications/party/testdef/data/PartyTestsData.xml
(status does not exist)
- applications/workeffort/testdef/data/WorkEffortTestData.xml
(status does not exist)
- applications/workeffort/minilang/test/WorkEffortTests.xml
(depends on planHours which is defined in project componnent)
And finally updated the below component files with the moved data
- applications/order/ofbiz-component.xml
- applications/accounting/ofbiz-component.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1792866 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-7452)
Go to Catalog -> product
Select any product and then switch to attributes tab
Find Add Product Attribute form, proper validations must be there.
Thanks: Suraj Khurana
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791752 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-7220)
When an order contains back ordered products the quick ship option should not
be available
Thanks: Padmavati Rawat for report, Suraj Khurana for solution and patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791751 13f79535-47bb-0310-9956-ffa450edef68
I spotted that I used stop instead of shutdown in this script (why did we change
this word? :-o) So I thought that I could get rid of terminateOfbiz in
trunk-manual.sh. But no, it's really needed. Though locally I can use shutdown
to stop both instances. Not sure why it fails on the server.
I have no yet tried to use stable-manual.sh to restart stable independently, but
I guess it works.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791743 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-7375)
Steps to regenerate -
1) Navigate to manufacturing -> Routing
2) Press New Routing button.
3) Try to create a routing without entering Routing Name. It will not allowed to
create the record as routing name is mandatory field.
4) Create routing by adding proper details.
5) Now, select newly create routing from manufacturing -> Routing
6) Try to update selected routing with empty Routing Name.
Actual : Routing can be update with empty Routing Name.
Expected : Routing should not allow to update with empty Routing Name.
Thanks: Ankit Joshi for analysis and patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1791634 13f79535-47bb-0310-9956-ffa450edef68