Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux b68e5c2791 Fixed: Fix Default or Empty Catch block in Java files
(OFBIZ-8341)

Fixes a bunch of swallowed exceptions

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787906 13f79535-47bb-0310-9956-ffa450edef68
2017-03-21 08:40:07 +00:00
Deepak Dixit ed45b78619 Improved: Make Create Menu tab bar for Contact consistent (OFBIZ-8201)
Thanks Avnindra Sharma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787823 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 18:05:23 +00:00
Deepak Dixit cd1da138ff Improved: Convert ShipmentMethodType entity CRUD service to entity-auto (OFBIZ-8664)
Thanks  Pawan Verma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787822 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:49:22 +00:00
Deepak Dixit deabc873e1 Improved: Convert QuoteTerm entity CRUD service to entity-auto (OFBIZ-8903)
Thanks  Pawan Verma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787818 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:39:21 +00:00
Deepak Dixit 0591d5fddb Improved: Convert CarrierShipmentMethod entity CRUD service to entity-auto (OFBIZ-8657)
Thanks  Pawan Verma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787816 13f79535-47bb-0310-9956-ffa450edef68
2017-03-20 17:31:11 +00:00
Taher A. Alkhateeb efb6f60510 Fixed: Regression: a commit between R15 and the Gradle switch uses/blocks the ports
(OFBIZ-9196)
Disabled the admin server from starting on contexts other than "start"

This commit has reference to the below discussion thread in which buildbot
is failing in between commits due to blocking the admin server thread.
The commit enables the admin server only for the "start" ofbiz server command.
For all other commands the port is set to value zero and hence the admin server
is never initialized

https://s.apache.org/xfxS

Thanks: Taher for the fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787627 13f79535-47bb-0310-9956-ffa450edef68
2017-03-19 14:55:13 +00:00
Taher A. Alkhateeb 1206d2e2cd Improved: replaced hard coded paths with variable in build.gradle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787561 13f79535-47bb-0310-9956-ffa450edef68
2017-03-18 14:25:16 +00:00
Jacques Le Roux 14f1737a35 Fixed: Induce Model XML from Database throws exception
(OFBIZ-7473)

Go to Webtools -> Import/Export -> Induce Model XML from Database 
(https://localhost:8443/webtools/control/view/ModelInduceFromDb)
An exception is thrown: javax.servlet.ServletException: File 
[/entity/ModelInduceFromDb.jsp] not found.

jleroux: after moving FTL template to the template sub-dir we forgot links 
in the ctrlr. Changing the ctrlr is the best way.

Thanks: Thanks Gopal Yadav for the report . William Wang for the real cause

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787535 13f79535-47bb-0310-9956-ffa450edef68
2017-03-18 09:23:12 +00:00
Jacques Le Roux 3a2497a7a1 Completed: Removes the now useless hot-deploy directory
(OFBIZ-9268)

The hot-deploy removal was discussed at https://s.apache.org/7Y2w

This completes the previous commit at r1787461

Note: 
We need to remove or implement with Gradle the "depends-on" feature in 
ofbiz-component files
IMO, the applyOfbizPatchesAndHotDeploy.sh and svnUpHotdeploy.bat scrupts should 
be removed, done




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787473 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 18:39:25 +00:00
Jacques Le Roux 702c361d62 Completed: Error message when svn updating due to pullAllPluginsSource
(OFBIZ-9262)

No functional change, mode the note about the trunk split as a news almost on
top of file (temporary and ideas welcome)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787464 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 18:10:29 +00:00
Jacques Le Roux f974a74dbe Completed: Removes the now useless hot-deploy directory
(OFBIZ-9268)

The hot-deploy removal was discussed at https://s.apache.org/7Y2w

I'm not yet sure what to do with the content of the README.txt file




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787461 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 18:07:28 +00:00
Jacques Le Roux baca5bc2d5 Improved: partially refactor list related forms in Manufacturing widgets
(OFBIZ-9236)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787430 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:59:03 +00:00
Jacques Le Roux cdba59c521 No functional change, fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787428 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:49:49 +00:00
Jacques Le Roux 1d41658728 No functional change, fixes a typo in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787426 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:47:54 +00:00
Jacques Le Roux dce00c7947 Completed: Error message when svn updating due to pullAllPluginsSource
(OFBIZ-9262)

No functional change, improves the documentation of the removing of the 
specialpurpose and hot-deploy directories. 
And the necessity to use the pullPluginSource or  pullAllPluginsSource Gradle 
tasks, feel free to amend...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787424 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 15:46:43 +00:00
Jacques Le Roux 18d650576f Completed: Error message when svn updating due to pullAllPluginsSource
(OFBIZ-9262)

No functional change, document the removing of the specialpurpose and hot-deploy
directories. And the necessity to use the pullPluginSource or 
pullAllPluginsSource Gradle tasks, feel free to amend...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787307 13f79535-47bb-0310-9956-ffa450edef68
2017-03-17 09:12:35 +00:00
Jacques Le Roux 644a47615f Improved: Refactor lists related to contactlist forms in partymgr
(OFBIZ-9266)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787220 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 17:35:57 +00:00
Jacques Le Roux b1dce632d5 Improved: refactor list related forms in Lookup widgets
(OFBIZ-9232)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

This was reverted and is now back with bugs fixed

Thanks: Pierre Smits


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787185 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:32:31 +00:00
Jacques Le Roux ba577d82be Improved: refactor list related forms in Cost widgets
(OFBIZ-9229)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

This was reverted and is now back with bugs fixed

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787184 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:32:06 +00:00
Taher A. Alkhateeb cb04b387ae Fixed: Renamed internal task to avoid collission on regex task name matching
(OFBIZ-9262)

A bug was detected in which a task activates when calling cleanAll because
it starts with the word "clean" which is matched automatically in a regex.
This fix simply renames the task to avoid matching the task and hence
automatically executing it.

Thanks: Wai for reporting this issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787183 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:31:11 +00:00
Jacques Le Roux 760ac284b8 Fixed: Error in accounting report inventory valuation with through date with
an empty value.
(OFBIZ-9265)

Go to https://localhost:8443/accounting/control/InventoryValuation and clear 
the Through Date, we get an error. 
The provided patch fixes this by setting the default thruDate to now.


Thanks: Francis Douet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787176 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 13:18:05 +00:00
Jacques Le Roux 3590a9ecee Fixed: Error message when svn updating due to pullAllPluginsSource
(OFBIZ-9262)

After removing the plugins dir, we should not have any issues. Tested locally:
works

Thanks: Taher and Deepak for sharing thoughts


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787144 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 08:48:13 +00:00
Jacques Le Roux f4d2a50c96 Fixed: Error message when svn updating due to pullAllPluginsSource
(OFBIZ-9262)

After discussing this in the Jira issue and dev ML "Plugins: skipped obstructing
 working copy (error message)" thread, we finally decided to remove the plugins 
directory altogether because there are no better solutions

Thanks: Taher and Deepak for sharing thoughts

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787143 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 08:43:11 +00:00
Jacques Le Roux e342a0bb7a Fixed: While re-ordering an order, order terms doesn't set
(OFBIZ-9252)

Place an order and click on create as new order button on order detail page.
All the information is properly copied over to that order but order terms are 
not copied to newly created order.
Order Terms should be copied while creating cart object.


Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787133 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 07:16:40 +00:00
Jacques Le Roux a2fea6cc11 Improved: Disentangle unused Accounting labels
(OFBIZ-8290)

This removes some unused labels from the accounting component. 
Because of OFBIZ-8154 being unfinished (but mostly done), I all checked them by 
hand. So I'm sure they are really unused

Note: Remains 304 unused Accounting labels

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787132 13f79535-47bb-0310-9956-ffa450edef68
2017-03-16 06:41:40 +00:00
Jacques Le Roux b557ef2d7c Reverts r1787106:
"No functional change, try to see if committing svn:ignore plugins helps"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787110 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 22:54:39 +00:00
Jacques Le Roux f7a6ff1e72 No functional change, try to see if committing svv:ingore plugins helps
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787106 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 22:50:44 +00:00
Jacques Le Roux dd2de6cee6 Improved: Make Create Menu tab bar for Routing consistent
(OFBIZ-8191)

Add a create Routing tab bar in the main decorator to maintain the consistency 
throughout the tab bar of Routing.

Thanks: Avnindra Sharma for the patch, Pierre Smits for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787087 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 18:06:48 +00:00
Jacques Le Roux 3c45e7d684 Improved: Handle only labels with the "_" separator between languages and
countries
(OFBIZ-9261)

This is handled in LabelManagerFactory.java

    Element valueElem = (Element) valueNode;
    // Support old way of specifying xml:lang value.
    // Old way: en_AU, new way: en-AU
    String localeName = valueElem.getAttribute("xml:lang");
    if( localeName.contains("_")) {
        localeName = localeName.replace('_', '-');
    }

I replaces this snippet by throwing an exception in order to now to 
automatically detect issues

Moreover I notices that there are no longer reasons to bypass the 
ExampleEntityLabels and ProductPromoUiLabels files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787047 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 13:56:38 +00:00
Jacques Le Roux 12cde364f5 No functional change, we use CamelCase in Java not SnakeCase
Fixes previous commit where I missed this one, I must have used the refactoring
tool :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787033 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 11:38:59 +00:00
Jacques Le Roux ba1460f6a6 No functional change, we use CamelCase in Java not SnakeCase
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787032 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 11:28:40 +00:00
Jacques Le Roux 547b765835 Improved: Wrong <"zh_TW" instead of "zh-TW" in 2 labels files
(OFBIZ-9260)
This is not really a bug because IIRW, for historical reason, we handle both in
 labels management. But this is really a problem when you use the "Validate" 
 option in Eclipse. Because those errors add to others and make complicate to 
 spot important issues in XML code.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1787024 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 11:00:41 +00:00
Jacques Le Roux add732cc07 No functional change, Attribute 'type' is not allowed to appear in element
'field-map'

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786988 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:28:07 +00:00
Jacques Le Roux b2bb3382d8 Reverted: refactor list related forms in Cost widgets
(OFBIZ-9229)

I found 1 error I did not spot earlier

<grid name="ListCostComponentCalc"
uses type="list"


I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786987 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:24:34 +00:00
Jacques Le Roux a2fe8c41b0 Reverted: refactor list related forms in Lookup widgets
(OFBIZ-9232)

I found 2 errors I did not spot earlier

<grid name="ListAgreements" 
uses type="list"

<grid name="ListPaymentGroupMember" 
does not end with </grid 

I prefer to revert because the grid concept is questionned by Taher. No need to
complicate later if we ever revert it all


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786986 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 07:23:50 +00:00
Jacques Le Roux 0933f18a11 Improved: refactor list related forms in Manufacturing widgets
(OFBIZ-9236)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786984 13f79535-47bb-0310-9956-ffa450edef68
2017-03-15 06:33:20 +00:00
Jacques Le Roux f592bf9ab5 Improved: refactor list related forms in Lookup widgets
(OFBIZ-9232)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786919 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:59:23 +00:00
Jacques Le Roux 315d0eaf5d Improved: refactor list related forms in Cost widgets
(OFBIZ-9229)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets


Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786916 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:51:38 +00:00
Jacques Le Roux 117ac9ce96 Improved: refactor list related forms in BillingAccount widgets
(OFBIZ-9215)

Refactoring various list forms into grids
Refactoring various list form references in screen widgets

Thanks: Pierre Smits

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786915 13f79535-47bb-0310-9956-ffa450edef68
2017-03-14 15:47:52 +00:00
Hans Bakker 0b0b0912a6 ://issues.apache.org/jira/browse/OFBIZ-9257: various problems in SFA
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786622 13f79535-47bb-0310-9956-ffa450edef68
2017-03-13 01:30:17 +00:00
Taher A. Alkhateeb a58f2d6172 Implemented: removed verbose output of pullAllPluginSource and fix message
Given previous commit from Jacques Le Roux went after a location that
does not suppress the output, this commit handles this issue correctly
and truncates the output for the single installPlugin gradle task


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786570 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 12:49:59 +00:00
Jacques Le Roux 27cec82b7b No functional change, just a reassuring sentence when using installPlugin.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786569 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 12:39:25 +00:00
Jacques Le Roux f7a011ea51 No functional change, update README.md.html for the wiki page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786568 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 12:36:44 +00:00
Jacques Le Roux 6a6b74756e No functional change, just a fews word about pullPluginSource and the
pullAllPluginsSource Gradle tasks and where the .svn directory are placed.

Completes previous commit r1786566, by placing the note below the cmd line expl 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786567 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 12:33:49 +00:00
Jacques Le Roux 9bb630a8cc No functional change, just a fews word about pullPluginSource and the
pullAllPluginsSource Gradle tasks and where the .svn directory are placed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786566 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 12:31:10 +00:00
Taher A. Alkhateeb d135a7224c Implemented: New task pullAllPluginsSource and improvements to plugins API
(OFBIZ-9182)

Implemented a new gradle task called pullAllPluginsSource which downloads
all the official apache OFBiz plugins from source control and places them
in the /plugins directory inclusive of their .svn directory. This task makes
it possible to automate buildbot for OFBiz with the need to use something like
svn:externals and to have two separate build scripts for framework-alone and
framework+plugins. The task delete all pre-existing plugins as it needs to
download the plugins as a full sub-repository

In addition to above mentioned new task, this commit also applies:
- Update README.md with new task definition and cleanup
- Improve the plugins API in gradle to make use of shared code for calling
  gradle as a sub-process from multiple locations
- minor formatting issues in build.gradle


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786562 13f79535-47bb-0310-9956-ffa450edef68
2017-03-12 08:03:43 +00:00
Jacques Le Roux be69af32f6 Fixed: catalog/control/FindReviews does not render proper column data
(OFBIZ-9133)

go to https://localhost:8443/catalog/control/FindReviews
find productId=GZ-2644
notice the table columns do not match the data

Here the problem is :
1. FindReviews page includes "ListReviews" form to render this content.
2. Here "use-when" attribute is used with "field" element on "productRating" 
  and "productReview" for conditions "statusId != 'PRR_DELETED'" and 
  "statusId == 'PRR_DELETED'"
3. Citing documentation of "ignore-when": "This attribute is defined to enable 
  ignoring a field on a form of type list or multi, which is not possible using 
  use-when attribute".
4. So when condition is not true it renders a empty <td></td> causing data to 
  be placed inappropriately
5. Here if the "use-when" attribute is replaced with "ignore-when" attribute 
  it will make the columns to match with apt data.

Solution:
Replace "use-when" attribute with "ignore-when" attribute amending conditions 
used accordingly.

Thanks: Wai Tam for the report, Aditya Sharma for the patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786525 13f79535-47bb-0310-9956-ffa450edef68
2017-03-11 19:25:31 +00:00
Jacques Le Roux 9000ac0f6e Fixed: compareBigDecimals in org.ofbiz.minilang.method.conditional.Compare does
not compare certain values correctly
(OFBIZ-6386)

After fixing the issue  in
trunk r1786079
R16.11 r1786080
R15.12 r1786082

These tests were broken
auto-invoice-tests.testGlPostingOnCancelCheckRun
auto-payment-tests.testGlPostingOnCheckRun

This is due to expressions like this
<set field="totalPayableDebitAmount" value="${payableDebitTotal + 36.43}" type="BigDecimal"/>

Using a local BigDecimal fixes the problem

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786332 13f79535-47bb-0310-9956-ffa450edef68
2017-03-10 12:23:29 +00:00
Jacques Le Roux 6abbbc81fb No functional change, I missed this so far but strangely it did not seem to
have any impact during tests

It's not strange, it's documented (I did it but forgot):
"this can be used only against trunk demo and is not in the tests set to avoid a dependency on Internet"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786214 13f79535-47bb-0310-9956-ffa450edef68
2017-03-09 18:11:06 +00:00
Jacques Le Roux d9caeb346b No functional change, removes line at EOF to test Buildbot trigger
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1786160 13f79535-47bb-0310-9956-ffa450edef68
2017-03-09 13:01:57 +00:00