(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
(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
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
(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
(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
(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
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
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
(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
(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
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
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