ofbiz-framework

Clone Tools
  • last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improved: Remove unnecessary ‘ofbizDebug’ task type (OFBIZ-11302)

the standard ‘--debug-jvm’ Gradle option already provides the same

functionality.

Improved: Upgrade some dependencies

Improved: Remove some explicit transitive dependencies

Implemented: Add “CONTRIBUTING.adoc” file (OFBIZ-11271)

iS gITBOX ok NOW?

No functional change

Because of a change in Buildbot: we don't want to run the build task in trunk

because it includes checkstyleMain

No functional change

A last one because I'm unsure my last Buildbot change was taken in account since

I did after committing here

No functional change

Adds a line to clean checkstyle.html at https://ci.apache.org/projects/ofbiz/logs/

and move it to https://ci.apache.org/projects/ofbiz/logs/trunk, it's only trunk

No functional change

Removes the line to test trunk build is triggered

No functional change

Just a new line to test trunk build is triggered

Fixed: Use ‘WebAppUtil#parseWebXmlFile’ when handling “web.xml” files (OFBIZ-6993)

# Conflict handled by hand in:

# framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CatalinaContainer.java

Fixed: Use ‘WebAppUtil#parseWebXmlFile’ when handling “web.xml” files (OFBIZ-6993)

Fixed: Use ‘WebAppUtil#parseWebXmlFile’ when handling “web.xml” files (OFBIZ-6993)

# Conflict handled by hand in:

# framework/catalina/src/main/java/org/apache/ofbiz/catalina/container/CatalinaContainer.java

Reverted: "Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)"

This reverts commit 3075027df7c82bcb381810d9d438150ef696254f.

  1. … 10 more files in changeset.
Reverted: "Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)"

This reverts commit a93b1fcb7859a754ba84b810c4736e7ef6778689.

  1. … 10 more files in changeset.
Revert "Improved: Update “web.xml” files version 3.0 → 4.0 (OFBIZ-6993)"

This reverts commit 226e901981b68941bbcf3e1025d2208061d28db6.

  1. … 10 more files in changeset.
Reverted: "Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)"

This reverts commit d1c037dca1ea14caf545c85c3741bb9af093f3c9.

  1. … 10 more files in changeset.
Improved: Upgrade Tomcat 9.0.27 → 9.0.29 (OFBIZ-11300)

Improved: Remove unnecessary explicit Tomcat dependencies (OFBIZ-11300)

Tomcat already provides the Servlet and JSP Java EE related interfaces

so there is no need to explicitly add the ‘javax...’ dependencies.

Additionally ‘tomcat-catalina-ha’ depends on ‘tomcat-catalina’ and

‘tomcat-tribes’ so we can make those dependencies implicit.

‘axis2-kernel’ is now placed after ‘tomcat-qa’ in the dependencies

block to ensure that we use the Servlet interfaces provided by Tomcat.

Improved: Update “web.xml” files version 3.0 → 4.0 (OFBIZ-6993)

  1. … 10 more files in changeset.
Improved: Reference the Servlet javadoc from Apache Tomcat (OFBIZ-11300)

Since we are using the servlet API implemented by Apache Tomcat, it is

better to use its documentation than the one from oracle which is not

updated anymore because of Java EE community adoption.

Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)

these declarations avoid SAXParseException traceback when parsing web.xml

the first time in WebappUtil.parseWebXmlFile

  1. … 10 more files in changeset.
Fixed: Add XML declaration in “web.xml” files (OFBIZ-6993)

These declarations avoid SAXParseException traceback when parsing web.xml

the first time in WebappUtil.parseWebXmlFile

  1. … 10 more files in changeset.
Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)

these declarations avoid SAXParseException traceback when parsing web.xml

the first time in WebappUtil.parseWebXmlFile

  1. … 10 more files in changeset.
Fixed: Add XML declaration in “web.xml” files (OFBIZ-6993)

These declarations avoid SAXParseException traceback when parsing web.xml

the first time in WebappUtil.parseWebXmlFile

  1. … 10 more files in changeset.
Fixed: add XML declaration in “web.xml” files (OFBIZ-6993)

these declarations avoid SAXParseException traceback when parsing web.xml

the first time in WebappUtil.parseWebXmlFile

  1. … 10 more files in changeset.
Improved: Use ‘depends-on’ attribute instead of “component-load.xml” (OFBIZ-11296)

We currently have two ways to define component loading order. Either

by using ‘depends-on’ attribute in “component-config.xml” or by adding

a “component-load.xml” file at the root of a component directory.

“depends-on” is more flexible because it handles partial ordering when

“component-load.xml” defines a total order which is not necessarily

meaningful, so it is better to rely only “depends-on”.

This removes the usage of “component-load.xml” to use ‘depends-on’

instead. The dependency declarations correspond to the total ordering

previously defined but will need to be refined in the future to relax

unnecessary dependency declarations.

Only “framework/base/config/component-load.xml” which defines the

top-level directories order (framework, applications, themes and

plugins) is kept.

    • -0
    • +1
    /applications/content/ofbiz-component.xml
    • -0
    • +1
    /applications/order/ofbiz-component.xml
    • -0
    • +1
    /applications/party/ofbiz-component.xml
    • -0
    • +1
    /applications/product/ofbiz-component.xml
    • -0
    • +1
    /framework/catalina/ofbiz-component.xml
  1. … 10 more files in changeset.
Fixed: Remove dependency management from ‘ComponentContainer’ (OFBIZ-11275)

This fixes a bug identified by ‘testCheckDependencyForComponent’ where

the dependencies declared inside component configurations were not

impacting the component retrieval order.

Component configurations stored in the cache can now be properly

sorted based on their <depends-on> declaration. The new

‘ComponentConfig#sortDependencies’ method returns a collection of

component configuration following a topological ordering.

In case of dependency cycle we throw an error.

Fixed: Number problem cancelling order item (OFBIZ-11283)

If an order item has a quantity greater then 1000, cancelling the order item via

the order form in backend does not work.

In the Demo (trunk) environment: the quantity of 1200 to cancel is displayed as

"1,200" in the quantity input field.

--> an error is displayed

On my local installation I use a different locale and it is displayed as "1.200".

--> interprets the dot as a comma and the quantity of 1,2 is cancelled

Create Order: Order Mgt --> Order Entry --> Sales Order (Customer: DemoCustomer)

--> ProductId: GZ-2644, Quantity 1200 --> Finalize order

On order: Edit Items --> click checkbox next to quantity -->cancel selected items

jleroux: I have applied the same in ReceiveInventory.ftl

Thanks: Ingo Wolfmayr for report and test. Ankush Upadhyay for the fix

Fixed: Number problem cancelling order item (OFBIZ-11283)

If an order item has a quantity greater then 1000, cancelling the order item via

the order form in backend does not work.

In the Demo (trunk) environment: the quantity of 1200 to cancel is displayed as

"1,200" in the quantity input field.

--> an error is displayed

On my local installation I use a different locale and it is displayed as "1.200".

--> interprets the dot as a comma and the quantity of 1,2 is cancelled

Create Order: Order Mgt --> Order Entry --> Sales Order (Customer: DemoCustomer)

--> ProductId: GZ-2644, Quantity 1200 --> Finalize order

On order: Edit Items --> click checkbox next to quantity -->cancel selected items

jleroux: I have applied the same in ReceiveInventory.ftl

Thanks: Ingo Wolfmayr for report and test. Ankush Upadhyay for the fix