Commit Graph
22179 Commits
Author SHA1 Message Date
Jacques Le Roux 9bbd16e9fa Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Nicolas Malin 74da8e5999 I converted crud services from simple to entity-auto for entities SalesOpportunity and SalesForecastDetail, related issue OFBIZ-6853
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726338 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 23:01:08 +00:00
Nicolas Malin 0c865c8970 I converted CreditCardTypeGlAccount crud service from simple to entity-auto engine.
I also convert updatePaymentMethodType and removePaymentContent service

Related Issue OFBIZ-6852

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726334 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 22:26:09 +00:00
Nicolas Malin 6ad89a445c I converted simple crud service to entity-auto for following entites :
* TaxAuthority
 * TaxAuthorityAssoc
 * TaxAuthorityCategory (not remove)
 * TaxAuthorityGlAccount
 * TaxAuthorityRateProduct

I also move the permission check to the service definition.
related issue OFBIZ-6851

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726327 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:57:48 +00:00
Nicolas Malin 370ccceb8c I converted PartyContent and CommunicationEventPurpose from simple to entity-auto engine, related issue OFBIZ-6850
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726323 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:48:23 +00:00
Jacques Le Roux 340c2b6745 A slightly formatted patch from Gareth Carter for "Add getFieldList method to EntityQuery" https://issues.apache.org/jira/browse/OFBIZ-6848
Improves EntityQuery by adding method getFieldList so we don't have to chain to EntityUtils.getFieldListFromEntityList or getFieldListFromEntityListIterator

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726184 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 11:50:49 +00:00
Jacques Le Roux 83113c00ed Fixes an issue discussed on dev ML and related with OFBIZ-6791
This before trying to backport the fixes done with commits referenced in the OFBIZ-6791 issue 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725574 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 17:45:19 +00:00
Jacques Le Roux 5120c6ebbb A patch from Pierre Smits for "In DemoTaxAuthority.xml the associated countrycode for Bulgaria is wrong" https://issues.apache.org/jira/browse/OFBIZ-6844
In DemoTaxAuthority.xml the associated CountryCode for the tax office in/of Bulgaria is set to BEL, which is Belgium.
This should be corrected to BGR.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725561 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:40:04 +00:00
Jacques Le Roux 8ff099d69d Reverts r1724954 and reopens OFBIZ-6805
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725556 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:12:34 +00:00
Jacques Le Roux 2ea3bcf115 A patch from "Ralph" (info at agentur-m3 dot de) for "ProjectMgr: GanttChart fails, in case of dependencies for tasks" https://issues.apache.org/jira/browse/OFBIZ-6842
the problen is in line 127:
taskInfo.preDecessor = latestTaskIds
This line causes brackets around ids (e.g.: [10098] )
And these brackets cannot be processed by jsgantt.
So in case of dependencies the ganttchart will not be displayed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725257 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:08:12 +00:00
Deepak Dixit e706783023 Use html encode type instead string to get the config instruction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725218 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:35:55 +00:00
Deepak Dixit a917a762e9 Fixed stack trace on configproductdetail.ftl, Used correct method to get INSTRUCTIONS from ProductConfigItemContentWrapper.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725217 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:33:26 +00:00
Jacques Le Roux 42c5d3f61e Fixes "The passport component misses a web.xml file" https://issues.apache.org/jira/browse/OFBIZ-6809
While checking OFBIZ-6794 I found a remaining issue in log. Adding an empty web.xml to the passport webapp was sufficient.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725006 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 17:14:52 +00:00
Divesh Dutta 91d0598a3c [OFBIZ-6753] Fixed issue:The GL account for USA_IRS is set to 224106 (SALES TAX COLLECTED USA - CA) should be 224100 (SALES TAX COLLECTED USA). Thanks Jesse Thomas for reporting the issue and Thanks Ankush for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724978 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:25:20 +00:00
Ashish Vijaywargiya 6caa828896 Applied patch from jira issue - OFBIZ-6735. Tooltip Calendar field (date or date-time) should not stop when using tab key. Thanks Jacques for creating the issue and thanks Jagpreet for the patch contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724975 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 13:47:30 +00:00
Deepak Dixit 43fadf2838 OFBIZ-(6655) Add session tracking mode and make cookie secure for scrum and solr component. Also fix the Invalid content was found starting with element 'description' for manufacturing component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724957 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 11:15:19 +00:00
Deepak Dixit d34bba947d (OFBIZ-6805) Applied patch from jira issue OFBIZ-6805
============================================================
Session already invalidate (removeAttribute: Session already invalidated) on destroyCart for anonymous userLogin
============================================================

Thanks Ankush for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724954 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:58:26 +00:00
Deepak Dixit d77e67f81e (OFBIZ-6806) Applied patch from jira issue OFBIZ-6806
============================================================
Order Item with multiple qty reserved with multiple inventory item not correctly recorded into Shipment_Item_Billing
============================================================

Thanks Swapnil Shah for reporting the issue and Ankush for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724951 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:41:51 +00:00
Deepak Dixit 05f52504b5 (OFBIZ-6400) Applied slightly modified patch from jira issue OFBIZ-6400
============================================================
Fix permissions at specialpurpose/myportal/widget/PortalAdmScreens.xml
============================================================

Also added some missing permission to SUPER user group.
Thanks Christian Carlow for reporting the issue and Aditi or providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724946 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:03:25 +00:00
Deepak Dixit c9cf2336ae (OFBIZ-6789) Applied patch from jira issue OFBIZ-6789
============================================================
image management cannot share images
============================================================

Thanks Wai for reporting the issue and Vaibhav for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724943 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:50:02 +00:00
Deepak Dixit 0f6ef62f85 OFBIZ-(6655) Add session tracking mode and make cookie secure for all special purpose component. Also updated the web-app version for web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724940 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:30:08 +00:00
Deepak Dixit 57174c5e78 (OFBIZ-6655) Applied patch from jira issue OFBIZ-6655.
Add session tracking mode and make cookie secure for some special purposes component.

Thanks Rahul Bhammarker for contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724930 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 07:15:09 +00:00
Deepak Dixit af2ca3df5e (OFBIZ-6800) Applied patch manually from jira issue OFBIZ-6800.
============================================================
There's no attribute "align" for tag "<fo:block>", must change to "text-align".
============================================================

Thanks Parinya Wongjina for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724925 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:58:19 +00:00
Deepak Dixit 6da0565eb7 (OFBIZ-6799) Found issue while working on OFBIZ-6799,
ChartOfAccounts.fo.ftl using postedBalance field, but its removed at r1530274, As its not a valid field of entity so system throwing exception while accessing COA pdf.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724918 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:32:59 +00:00
Deepak Dixit fbfe8ea147 (OFBIZ-6799) Applied patch from jira issue OFBIZ-6799
============================================================
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:15:42: Invalid property encountered on "fo:block": align (See position 15:42)
============================================================

Thanks Parinya Wongjina for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724916 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 06:25:35 +00:00
Nicolas Malin 6fd3a96ed6 Correct on layered-modal link :
* the uuid string to set as unique layered-modal call method name, error introduce with issue OFBIZ-6707 and raise on the issue OFBIZ-6786 by Wai.
* parameters missing when you call the link from a form because their passed in the url and not with the jquery data set, related to OFBIZ-6803

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724796 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 13:17:39 +00:00
Jacques Le Roux 8a110baf4a A slightly modified patch from Chula Lathong for <<Bug on SFA vcard import.>> https://issues.apache.org/jira/browse/OFBIZ-6795
Error occur when create Lead/Contact from Vcard.
This patch will improve importVcard service to able to create Lead/Contact from Vcard and display error messages when Vcard has invalid values.

jleroux: I simply changed the importVCard service transaction-timeout from 72000 (20 hours!) to 7200. Also added corresponding French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724763 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 10:18:00 +00:00
Nicolas Malin ee44b0f8db add french label for CommonCost
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724701 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 21:56:49 +00:00
Jacques Le Roux 285d869467 Fixes "Exception when sending an order confirmation email" reported by Eric Kingston at https://issues.apache.org/jira/browse/OFBIZ-6792
Receive the following exception while placing an order through the ecommerce application.....

groovy.lang.MissingPropertyException: No such property: response for class: CompanyHeader

Following is the relevant portion of the stack trace...

at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) ~[groovy-all-2.2.1.jar:2.2.1]
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49) ~[groovy-all-2.2.1.jar:2.2.1]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) ~[groovy-all-2.2.1.jar:2.2.1]
at CompanyHeader.run(CompanyHeader.groovy:48) ~[?:?]

...

Apparently, the response object is not available within the context when the sendOrderConfirmation service is run.  

Steps to reproduce the exception....

1.  Checkout OFBiz 14.12 Release (revision was 1722928 at the time of checkout).
2.  Run the default build.
3.  Load the demo data.
4.  Start the OFBiz instance (it will use the OOTB default derby db of course).
5.  Within a browser goto URL..  http://localhost:8080/ecommerce 
6.  Proceed to place an order adding at least one item to the cart.
7.  While checking out you may or may not have to create an account.  I created an account for this test.
8.  Proceed through all the checkout steps and submit the order.

Monitor the log and you will see the exception occur within a few seconds.  This exception doesn't occur in the OFBiz 13.07 release branch.  In fact, the response object is not referenced at all in the CompanyHeader.groovy from the 13.07 branch.  Whoever inserted the code that references the response object within the CompanyHeader.groovy script, must have neglected to test the changes with the ecommerce application.  I only found the error while migrating our instance of OFBiz to the 14.12 release.  Our custom ecommerce application employs the sendOrderConfirmation service the same way the OOTB ecommerce application does.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724689 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 21:19:26 +00:00
Nicolas Malin 52e5beffef No functional change, remove space end line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724575 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 10:22:34 +00:00
Jacques Le Roux bdbfe5cde7 An augmented patch from Jason Reast-Jones for "Broken filter links if using ecommerce Layered Navigation" https://issues.apache.org/jira/browse/OFBIZ-6798
If you enable Layered Navigation in the ecommerce (via CatalogScreens.xml) the Sub-Category and color filter links have no closing </a> tag.

jleroux: I had also to change LayeredNavigation.groovy

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724566 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 09:49:48 +00:00
Jacques Le Roux e91c36f35c Fixes an issue related to r1715960 and OFBIZ-6745 (stumbled upon it by chance while working on something else)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724411 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 12:31:28 +00:00
Deepak Dixit ec09aa2260 (OFBIZ-6797) Applied patch from jira issue OFBIZ-6797
====================================================================
Small typo in ecommerce productdetail.ftl would prevent similar products by feature from rendering if the related functionality is enabled in ProductDetailgroovy.

<#if comsmonFeatureResultIds?has_content>

should read

<#if commonFeatureResultIds?has_content>

Introduced in markup refactor 816465
====================================================================

Thanks Jason Reast-Jones for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724402 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 11:47:18 +00:00
Nicolas Malin e48f11412b Correct the service CommunicationServices.createAttachmentContent that duplicates attachments for existing CommunicationEvents. Issue reported and solved by Gareth Carter on issue OFBIZ-6697. Thanks to him for this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724311 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:26:18 +00:00
Hans Bakker 1afd42b2a7 various fixes to the salesopportunity list and create functions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1723248 13f79535-47bb-0310-9956-ffa450edef68
2016-01-06 07:53:26 +00:00
Hans Bakker baf7a29669 sales opportunity creation: required-field removed, disturbed the form submission, entityone no value field, error in the log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1723007 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 07:08:06 +00:00
Nicolas Malin 916823d5a4 When ofbiz reload crashed jobs when it start, replay only one time the crashed jobs. Remove all temporal information to ensure that the new job don't create any reccurent schedule that duplicate the origin job's configuration, See OFBIZ-6784, thanks Scott to spot the good correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722816 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 09:46:42 +00:00
Jacques Le Roux 379c75c5c0 Fixes a bug reported by Tiwonge Kawonga on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722712 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 11:46:58 +00:00
Deepak Dixit f037b221f9 (OFBIZ-6655) Reverted r1719762, as system fails to find the session cookie for ecommerce, will debug it in more detail but for now to fix this issue reverting r1719762.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722379 13f79535-47bb-0310-9956-ffa450edef68
2015-12-30 17:00:00 +00:00
Nicolas Malin 23fca59d0c add french translation on WebtoolsConfirmDelete label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1722071 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 08:07:55 +00:00
Jacques Le Roux 88c8c1b489 Fixes a bug reported by Vinet at https://issues.apache.org/jira/browse/OFBIZ-6779 - "Wrong entity condition expression for fetching the view entity PartyAndContactMech."
In party module present in application component the file PartyContactMechServices.xml containing simple-method createPartyEmailAddress (meant for creating an email address for party) is using wrong entity condition expression for fetching the view entity PartyAndContactMech.
It is using from-field attribute for the comparison of a constant value instead of the value attribute.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721625 13f79535-47bb-0310-9956-ffa450edef68
2015-12-24 14:32:00 +00:00
Deepak Dixit 04772389fb (OFBIZ-4954) Applied patch from jira issue OFBIZ-4954
============================================================
Order item quantity cancel issue.

If user partially received an order and then cancel order item, system cancel all the order item quantity.System does not check for shipped/received order item quantity.
Expected behavior: Only remaining order item quantity should be cancelled and order item should marked as complete with partial received/shipped quantity.
============================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721093 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:38:43 +00:00
Deepak Dixit cec849f42e (OFBIZ-3074) Applied slightly modified patch from OFBIZ-3074
============================================================ HTML clean up for editShoppingList.ftl.
============================================================ 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721092 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:25:56 +00:00
Deepak Dixit 76742dc2bc (OFBIZ-2987) Applied slightly modified patch from OFBIZ-2987
============================================================ Html clean up of quick add page.
============================================================ 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721091 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:16:28 +00:00
Deepak Dixit f7a89e5cdd (OFBIZ-6525) Add confirmation message before deleting entity record from web-tools application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721089 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 05:09:06 +00:00
Jacques Le Roux df4d1350ef Prevents a possible "NPE", found in trunk demo logs (it's a treasure I will continue to dig in...)
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> lastContent.description  [in template "component://ecommerce/webapp/ecommerce/content/viewcontent.ftl" at line 38, column 38]



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721067 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 21:14:05 +00:00
Jacques Le Roux 5d9f3898c6 A slightly modified patch from Supachai Chaima-ngua for <<Upload product image does not work.>> https://issues.apache.org/jira/browse/OFBIZ-6769
Upload product image dose not working because "updateDataResource" require out parameter name 'dataResourceId' but the service doesn't return by using entity-auto engine and upload image function need delegator but do not sent to upload image function.

jleroux: this was due to recent r1716271 so no needs to backport. The changes in ImageManagementServices were not operationally needed (it worked as is) but indeed better for a method like scaleImageMangementInAllSize to rely on DispatchContext rather than service context when called from a service. Since it's not a service I changed the scaleImageMangementInAllSize method to private. I also removed the useless "ImageManagementServices." prefix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1721066 13f79535-47bb-0310-9956-ffa450edef68
2015-12-20 21:07:27 +00:00
Mridul Pathak 258357bce6 [OFBIZ-6043] Change of ship-to address is not persisted when stepping forward and backward in a create order process. Applying patch from OFBIZ-6043. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720932 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 14:35:57 +00:00
Mridul Pathak 7d8f8bfc2e [OFBIZ-6185] Type-ahead regarding LookupInvoice in AP doesn't return result. Applying patch from OFBIZ-6185. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720920 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 13:38:46 +00:00
Mridul Pathak 0d6f156cf7 [OFBIZ-6226] Webpos F4-F11 label mismatch. Applying patch from OFBIZ-6226. Thanks Christian Carlow for reporting the issue and providing the initial patch. Thanks Suraj Khurana for providing the improved patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720910 13f79535-47bb-0310-9956-ffa450edef68
2015-12-19 13:01:44 +00:00