Commit Graph
22455 Commits
Author SHA1 Message Date
Jacques Le Roux e90be02370 Fixes "ExampleCompoundWidgets throws errors" - https://issues.apache.org/jira/browse/OFBIZ-7023
Actually this is due to both compound-widgets.xsd and ExampleCompoundWidgets.xml errors. Both have not visible effects but in logs

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1741022 13f79535-47bb-0310-9956-ffa450edef68
2016-04-26 13:35:07 +00:00
Deepak Dixit deb3df7a5e (OFBIZ-7022) relocate .ftl files for all the theme component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740682 13f79535-47bb-0310-9956-ffa450edef68
2016-04-24 08:45:28 +00:00
Jacques Le Roux df3075f5ce No functional change, this file is not used so useless, removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740635 13f79535-47bb-0310-9956-ffa450edef68
2016-04-23 04:32:12 +00:00
Jacques Le Roux 3168a01d10 A patch from Swapnil M Mane for "Calling Groovy as Event generates error when delegator.find used" reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-6808
We are using Groovy as event in the controller request, everything works fine for us but as we used delegator.find()
it generates the following error


ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place. Wrap this call in a transaction.
     [java] java.lang.Exception: Stack Trace
     [java] 	at org.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1757) [ofbiz-entity.jar:?]
     [java] 	at org.ofbiz.entity.Delegator$find.call(Unknown Source) [ofbiz-entity.jar:?]
     [java] 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.2.1.jar:2.2.1]
     [java] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.2.1.jar:2.2.1]
     [java] 	at ProductInventory$_run_closure1.doCall(ProductInventory.groovy:18) [script:?]

Reason: 

Since we are using find method of GenericDelegator.java
As per the code implementation it required the transaction should exist 
   if (!TransactionUtil.isTransactionInPlace()) {
if not, it generate error
    ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place. Wrap this call in a transaction.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Solution: initialize the transaction when the groovy is called as event and commit the transaction after the completion.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740629 13f79535-47bb-0310-9956-ffa450edef68
2016-04-23 03:51:13 +00:00
Deepak Dixit 9979e67e26 (OFBIZ-6831) relocate .ftl files in the specialpurpose/example component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740583 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:53:41 +00:00
Deepak Dixit 4d12b065b5 (OFBIZ-6836) relocate .ftl files in the specialpurpose/scrum component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740582 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:46:03 +00:00
Deepak Dixit 1ccc285eda (OFBIZ-6839) relocate .ftl files in the specialpurpose/lucene component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740580 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:39:49 +00:00
Deepak Dixit 15db21d363 (OFBIZ-6838) relocate .ftl files in the specialpurpose/passport component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740579 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:36:22 +00:00
Deepak Dixit 288ce94f5d (OFBIZ-6834) relocate .ftl files in the specialpurpose/googlecheckout component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740578 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:32:56 +00:00
Deepak Dixit 437c645b35 (OFBIZ-6833) relocate .ftl files in the specialpurpose/googlebase component.
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740577 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 18:25:44 +00:00
Deepak Dixit c3e9188d1a (OFBIZ-6829) relocate .ftl files in the specialpurpose/ebaystore component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740504 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:52:41 +00:00
Deepak Dixit ffa034eec1 (OFBIZ-6829) Corrected the ebay ftl file path.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740501 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:43:18 +00:00
Deepak Dixit 5a63f3da7b (OFBIZ-6829) Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740499 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:41:15 +00:00
Deepak Dixit fd3f23be70 (OFBIZ-6829) relocate .ftl files in the specialpurpose/ebay component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740498 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:37:21 +00:00
Deepak Dixit 209b95cbbf (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit 3f2b77aa66 (OFBIZ-6821) Added missing content folder in specialpurpose/ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740489 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:02:20 +00:00
Deepak Dixit 1269706cee (OFBIZ-6821) relocate .ftl files in the specialpurpose/ecommerce component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740485 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:42:03 +00:00
Deepak Dixit c302846f7f (OFBIZ-6811) Renamed ecommerce/templates to ecommerce/tempalte to make it consistent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740483 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:22:42 +00:00
Deepak Dixit d1f0ef3831 (OFBIZ-6814) Moved changeOrgPartyId.groovy to WEB-INF/actions, also removed unused ofbizsetup/viewcontact.ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740481 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:11:23 +00:00
Deepak Dixit aec2925b20 (OFBIZ-6821) Corrected product template path in GoogleBaseScreens.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740480 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:09:36 +00:00
Deepak Dixit abeaeb2a58 (OFBIZ-6821) relocate .ftl files in the product component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740477 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 10:34:35 +00:00
Deepak Dixit b94997d33a (OFBIZ-6820) relocate .ftl files in the party component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740464 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:33:46 +00:00
Deepak Dixit 9235bd0d23 (OFBIZ-6820) Renamed party/templates folder to party/template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740461 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:24:17 +00:00
Deepak Dixit cee0263cef (OFBIZ-6815) relocate .ftl files in the content component
Thanks Pierre for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +00:00
Deepak Dixit 570cfa3d99 (OFBIZ-6989) Applied patch from jira issue.
============================================================
Editing project in Project Manager duplicates resources
============================================================
Thanks Montalbano Florian for reporting issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740442 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 05:46:51 +00:00
Gil Portenseigne 76dd74850f OFBIZ-5703 :
Fix a regression on <auto-parameters-entity/> and <auto-parameters-service/> in which default-entity-name and default-service-name weren't taken in consideration anymore.

Thanks Dhiraj Gupta for reporting the issue, Thanks Jacques and Divesh for the analysis

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740415 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 21:56:52 +00:00
Jacopo Cappellato 0422ed0700 Updated Licence and Eclipse .classpath file after recent upgrade to ICU4J (rev. 1740229).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740310 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 13:34:42 +00:00
Jacques Le Roux a26666f7bc Updates ICU4J from version 52 to 57, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740229 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 05:18:07 +00:00
Jacques Le Roux a48542881e A patch from Supatthra Nawicha for "party search form does not properly collapse sections when none|postal|telecom|other selected" reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-7013
Go to: /partymgr/control/findparty
Click on either none, postal, telecom,other radiobutton.
NHotice that after clicking on another radiobutton, the section that was previously expanded is not automatically collapsed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740072 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 09:09:16 +00:00
Jacques Le Roux 6455c9382c A sightly modified patch from Wai for "ofbizsetup create product store cause exception, remove use of temp file to load entity data" - https://issues.apache.org/jira/browse/OFBIZ-5949
The exception is caused by foreign key constraint violation between ShipmentCostEstimate and  CarrierShipmentMethod entities.
Currently, when creating a new product store using ofbizsetup component default data associated with the product store is loaded into the database using the following steps.
1. read default data from entity xml file and replace specific items in the read data and write to temp file.
2. use service=parseEntityXmlFile to load the processed file into database.
The issue with this method is that the temp file can present a problem when ofbiz is operating in multitenant mode.
The solution is to modify the relevant services so that no temp file needs generated.

jleroux: I simply used an UtilValidate.isNotEmpty() method in  EntitySaxReader class

I was initially reluctant to these changes because you can no longer load the content of the GlAccountData.xml and ProductStoreData.xml files, or the files themselves, using the import XML feature of webtools. But those files are specific to the setup component, so they should not be missed, they are supposed to be used in this context only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740008 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 21:09:14 +00:00
Jacques Le Roux 63723a1120 A patch from Pierre Smits for "Have configuration options for workeffort" https://issues.apache.org/jira/browse/OFBIZ-6294
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739996 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 20:13:43 +00:00
Jacques Le Roux f3b6306c16 Patches from Pierre Smits for "Have configuration options for bi" https://issues.apache.org/jira/browse/OFBIZ-6193
These patches address the inclusion of BISystemPropertyData.xml in ofbiz-component.xml of the bi component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739995 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 20:10:42 +00:00
Michael Brohl b6fe20a993 Applied patch for OFBIZ-6793: Have configuration options for the ecommerce component.
Thanks Pierre Smits for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739982 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 18:52:41 +00:00
Jacques Le Roux 7316ee4818 A patch from Pierre Smits for "Remove limitation regarding menu-name in ofbiz-component.xsd" https://issues.apache.org/jira/browse/OFBIZ-6667
Currently the following is in the ofbiz-component.xsd:
        <xs:attribute name="menu-name" default="main">
            <xs:simpleType>
                <xs:restriction base="xs:token">
                    <xs:enumeration value="main"/>
                    <xs:enumeration value="secondary"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>

However, this is limiting the options that can be applied generates unnecessary errors when developers opt for another methodology.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739968 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:56:07 +00:00
Jacques Le Roux 3ab4953e5a Modified patches from Pierre Smits for "Have configuration options for catalog webapp" https://issues.apache.org/jira/browse/OFBIZ-6192
These patches address the integration of CatalogSystemPropertyData.xml in the ofbiz-component.xml of the Product component, this is for the catalog webapp (based on catalog.properties)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739967 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:38:36 +00:00
Jacques Le Roux a1a21799a5 Patches from Pierre Smits for "Have configuration options for ordermgr" https://issues.apache.org/jira/browse/OFBIZ-6191
The patches address the integration of OrderSystemPropertyData.xml in the ofbiz-component.xml of the Order component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739909 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 11:48:23 +00:00
Mridul Pathak 43f0fe2a34 Reverting r1739457 as tests does not pass.
[OFBIZ-7008] Support to add condition for Geo Location in Promo Engine.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739637 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 19:07:21 +00:00
Jacques Le Roux f214e31ed9 Sometimes you need to update before testing or reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739571 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:26:54 +00:00
Jacques Le Roux c0df7257c2 No functional changes, updates dependency-check-report.html, no important changes (no new vulnerabilities), just to get rid of the differences in my working copy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739570 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:20:21 +00:00
Nicolas Malin a6284ff24a Correct the fop macro library to pass test testFopMacroLibrary(). This has been possible with the issue OFBIZ-7015 Ugrade Apache Tika library, to use tika for analyse the pdf as string
related issue OFBIZ-6497

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739553 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:41:03 +00:00
Nicolas Malin ab000418de Uprade the Apache Tika Library :
tika-parsers-1.7.jar -> tika-parsers-1.12.jar
    tika-core-1.7.jar -> tika-core-1.12.jar

This update induce updating of :

    pdfbox-1.8.5.jar -> pdfbox-1.8.11.jar
    jempbox-1.8.5.jar -> jempbox-1.8.11.jar
    fontbox-1.8.5.jar -> fontbox-1.8.11.jar
    commons-compress-1.9.jar -> commons-compress-1.11.jar

And pdfbox-1.8.11.jar need the introduction of :

    jce-jdk13-154.jar under MIT licence (www.bouncycastle.org)

Apache Tika is needed to test the screenfop on issue OFBIZ-6497. So I move all library from applications/content/lib/ to framework/base/lib/ to didn't create a dependency between widget and content 
Related issue OFBIZ-7015

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739551 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:26:45 +00:00
Mridul Pathak 78c467706a [OFBIZ-6781] Incorrect order adjustment after order item is cancelled. Thanks Vyom Jain for reporting the issue and Suraj Khurana for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739463 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 13:59:54 +00:00
Mridul Pathak c497e160e0 [OFBIZ-7008] Support to add condition for Geo Location in Promo Engine. Thanks Vishal Chhabria for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739457 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 13:25:59 +00:00
Pranay Pandey b23c3aa227 [OFBIZ-5938] Applied patch from the issue for bug fix - GlAccountOrganizations manually added using accounting forms do not appear on trial report because fromDate gets set to NULL. Thanks Christian Carlow for reporting the issue and Thanks Akash Jain for testing the patch and providing confirmation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739448 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:34:29 +00:00
Mridul Pathak 9073f181ab [OFBIZ-7010] Shipping method is shown on all Promo Conditions even when only a single condition includes Shipping Method. Thanks Swapnil M Mane for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739447 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:22:21 +00:00
Ashish Vijaywargiya e439033d32 Applied patch from jira issue - OFBIZ-7006. Cache Maintenance action links UI improvement. This is UI improvement but I think we can also consider it as UI bug because link in present scenario creates issues at user end and in case of quick operations they may click on the wrong links. Thanks Rahul Bhooteshwar for creating the issue and providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:20:58 +00:00
Anil Patel 915971a68f [OFBIZ-6841] The change looks good. I did simple search in across the codebase and did not find any references to the file.
Thanks Pierre Smits for locating the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739438 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 10:52:04 +00:00
Jacques Le Roux 5f25746fc6 Fixes "POS login page getting error "FileNotFoundException"." reported by Amardeep Singh Jhajj at https://issues.apache.org/jira/browse/OFBIZ-7007
WebPos login page getting error "FileNotFoundException" at latest trunk. Here is the error:
Error rendering included template at location [component://webpos/template/Login.ftl]: java.io.FileNotFoundException: 

This issue is due to the change done in r1736869. "Login.ftl" was not moved but its reference was changed in "specialpurpose/webpos/widget/CommonScreens.xml ". I found one more file which was not moved "RequirePasswordChange.ftl".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739427 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 07:59:10 +00:00
Anil Patel 66c0c562a7 [OFBIZ-6953] Fix for the error on clicking Party name from header section. Thanks to Supachai Chaima-ngua for reporting the issue and Mohammad Kathawala for testing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739425 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 07:40:51 +00:00
Jacques Le Roux b902261620 No functional changes, updates suppress.xml, small formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739341 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:56:50 +00:00