Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 9df16aed80 A slightly modified patch from Pierre Smits for <<comments on ordering products should be store driven>> https://issues.apache.org/jira/browse/OFBIZ-6924
Currently, in ecommerce/tiny-gismo-GZ-1000-p a comment field is shown.
This is a result of the following code in productdetail.ftl
{code}
<#assign commentEnable = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.comment.enable", delegator)>
            <#if commentEnable.equals("Y")>
                <#assign orderItemAttr = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("order", "order.item.attr.prefix", delegator)>
                ${uiLabelMap.CommonComment}&nbsp;<input type="text" name="${orderItemAttr}comment"/>
            </#if>
{code}
Based on the code excerpt this is set by a property value in the order component. However this should be based on a configuration setting in the store.

jleroux: I simply changed the place of the ProductStore.allowComment field (not after the old deprecated fields) and used a description instead of an XML comment there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735435 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 14:32:16 +00:00
Jacques Le Roux 132fdc09d8 Completes r1726388 for the contentimages webapp placeholder (I did not notice it, because it's special I guess so not reported in log)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735398 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 10:42:04 +00:00
Jacques Le Roux 0456dd0190 Better comment for r1735385, no needs to backport: no functional change (forgot to save/commit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735395 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 10:34:02 +00:00
Jacques Le Roux efdef1df6e Fixes "Credit card details cannot be updated" - https://issues.apache.org/jira/browse/OFBIZ-6920
It seems after OFBIZ-3956, credit card details can no longer be updated, for example, if one wishes to update the expiry date of a credit card 
results in following "The Following Errors Occurred: Card Number is erroneous".
This issue can be replicated here - https://demo-trunk-ofbiz.apache.org/partymgr/control/editcreditcard?paymentMethodId=9015&partyId=DemoCustomer

jleroux: The problem was because we are calling createCreditCard map proc from updateCreditCard service after calling updateCreditCard map proc. And when we update the data we don't see the real card number but something like "************1111"

I simply copied the needed check from createCreditCard map proc into updateCreditCard map proc but not the isAnyCard call of course.  Then it will work, but if the user changes also the card number. If she does it will need to be right, because it will not be checked! I can't see any other ways because we can't use a hidden field with the real card number in, it would be insecure. We could introduce a specific encryption/decryption but it seems a bit too much. Notably because the only reason of changing a card number while this card is still valid would be  because the number have been wrongly entered. Then better to delete and create a new one, those data are a bit sensible...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735385 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 10:09:53 +00:00
Christian Geisert 7156d8fbe2 OFBIZ-6936 Fix broken 'run-test-list' target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735244 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 15:38:04 +00:00
Hans Bakker 0b3f32e6da correction of Committed revision 1735178.https://issues.apache.org/jira/browse/OFBIZ-6923
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735189 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 07:02:38 +00:00
Hans Bakker 83c0430032 Improve the decorator for manufacturing/order/facility component for re-use https://issues.apache.org/jira/browse/OFBIZ-6923
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735178 13f79535-47bb-0310-9956-ffa450edef68
2016-03-16 01:18:48 +00:00
Shi Jinghai 6910aacd54 OFBIZ-6755 Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
1. Remove commons-httpclient-3.1.jar from passport component.
2. Use httpclient 4.4.1 in base/lib instead.
3. Remove randomString methods, use RandomStringUtils.randomAlphanumeric instead.
4. Move getAllowAllHttpClient to UtilHttp.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735021 13f79535-47bb-0310-9956-ffa450edef68
2016-03-15 06:06:33 +00:00
Jacques Le Roux d4d623513c Fixes "Update Tomcat to 7.0.68" - https://issues.apache.org/jira/browse/OFBIZ-6913
As ever forgot .classpath and LICENSE files, here they are.

I decided to no longer move the new entries in.classpath which are not automatically alphabetically ordered by Eclipse. Since we should now use the given tool no need for that.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734918 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 11:09:02 +00:00
Jacques Le Roux f108def5a8 Fixes "Update Tomcat to 7.0.68" - https://issues.apache.org/jira/browse/OFBIZ-6913
The 22/Feb/16 the Apache Tomcat Security Team revealed some security issues, we need to update Tomcat to 6.0.68 version
https://tomcat.apache.org/security-7.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734912 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 10:58:39 +00:00
Hans Bakker 10c844b687 improve uom convert error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734875 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 02:37:12 +00:00
Jacques Le Roux e2ff0df1fc Removes <ivy:cleancache/> from "clean" target as suggested by Christian at OFBIZ-5461
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734276 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 15:50:40 +00:00
Jacques Le Roux 1c0466616e A patch from Forrest Rae for "GroovyEngine.serviceInvoker masks Groovy script exceptions in some cases" https://issues.apache.org/jira/browse/OFBIZ-6888
If GroovyEngine.serviceInvoker catches an exception in a Groovy script, it would mask the exception in some cases.  An exception's detailMessage can be null.  If it is null, the exception won't be properly returned and logged, and that will make spotting problems very difficult.  This was the case for me while trying to track down a problem with a java.util.ConcurrentModificationException error in a Groovy script.  I suspect that this choice to mask exceptions and only return the message has cause bugs to not be spotted.

Disabling this for now in favor of returning a proper exception.  GroovyEngine.serviceInvoker() should throw GenericServiceException if error, rather than returning ServiceUtil.returnError(e.getMessage())



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734269 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 15:36:56 +00:00
Jacques Le Roux 3458a46b24 A patch from Oleg Andreyev for "Incorrect content length in response from HTTP service engine" https://issues.apache.org/jira/browse/OFBIZ-6925
Obvious error that cause deserialization errors on receiving side under some conditions because data extracted from response shorter than it really was sent. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734246 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 14:40:33 +00:00
Jacques Le Roux 05667aa340 Adds a comments to the testRemoteSoap service to clarify when to use it how it works.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1734241 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 13:57:39 +00:00
Jacques Le Roux e576d72fc8 "Upgrade Axis2 to 1.7.0" - https://issues.apache.org/jira/browse/OFBIZ-6916 - Actually this upgrades Axis2 to 1.7.1
Replacing Axis2 1.6.3 by 1.7.1 version is easy as long as you don't try to replace the commons-httpclient-3.1 lib. The only noticeable change is this warning shown in log
    |http-bio-8443-exec-1 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details|
It has no effects on the SOAP test services, both works.

But the main goal of this issue is a security update because commons-httpclient-3.1 lib is deprecated, no longer maintained and vulnerable and must be replaced.

This commit also concerns OFBIZ-6755 but to not mix things OFBIZ-6755 will be completed later. So to not block this issue, the commons-httpclient-3.1 lib is moved from framework/service/lib to specialpurpose/passport/lib/ where it's still required.

Normally, as explained at https://axis.apache.org/axis2/java/core/release-notes/1.7.0.html, Axis2 1.7.1 requires "HttpClient 4.2.x and should work with 4.3.x and 4.4.x, but is incompatible with 4.5.x". I did not replace commons-httpclient-3.1 by HttpClient 4.2.1, which is bundled with Axis2 1.7.1, because we have already HttpClient/Core 4.4.1 in base/lib and it works well as is (HttpClient/Core 4.4.1 is in the classpath).

To use HttpClient/Core 4.4.1 you need to change the axis2.xml files as specified in the 1.7.0 release note. But where to place this file in OFBiz is not obvious! 

I decided the best way was to use Axis2 ConfigurationContextFactory.createConfigurationContextFromFileSystem() method to let know Axis2 we want the new httpclient instead of the default one (I really don't understand why the Axis2 team still prefers commons-httpclient-3.1 as default). I had to pass both locations to avoid hardcoding the repository location in the axis2.xml file.

I have also decided the best place for the "Axis2 repository" (as they call it) was in framework/service/axis2. So following Axis2 convention http://wso2.com/library/tutorials/axis2-repository/ I put the axis2.xml file in framework/service/axis2/conf.
Note: the Axis2 repository could be used to put [Apache Rampart|https://axis.apache.org/axis2/java/rampart/] as a module to secure web services...

After this change, there are a number of warnings thrown by Axis2 but they are actually interesting as they provide guidance for future use of modules and such (notably Apache Rampart)
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher
    |ttp-bio-8443-exec-10 |Utils                         |W| [JAXWS] - unable to load org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher
    |ttp-bio-8443-exec-10 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.deployment.ServiceDeployer; see debug logs for more details
    |ttp-bio-8443-exec-10 |AxisConfigBuilder             |W| Unable to instantiate deployer org.apache.axis2.jaxws.framework.JAXWSDeployer; see debug logs for more details


While at it I replaced StAXOMBuilder (deprecated) by OMXMLBuilderFactory

I will backport the changes in the supported releases branches but R12.04 which use a too old version of HttpClient/Core. Others all use versions older than 4.2.1. I'm aware I will have to handle several conflicts by hand, some are easy others "harder". We have the passport component only in R15.12, it will be easy to neglect in older releases. I expect more work with the LICENSE file and even more with the .classpath file. Since R15.12 we use tabs in it (Adrian rightly told us to use Eclipse internal tools to edit this file, though I noted it does not respect the alphabetical order) but older releases still use spaces (and this is often a pain now, but a bright future ahead ;))

Crossing fingers with this commit, I have other changes pending in this instance (notably for OFBIZ-6849) and it got quite complicated...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733956 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 18:48:14 +00:00
Jacques Le Roux 2c79c094ea "Currently the testRemoteSoap test services does not work." - https://issues.apache.org/jira/browse/OFBIZ-6922
This temporarily replaces the demo-trunk.ofbiz.apache.org domain by ofbiz-vm.apache.org:8080

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733951 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 18:14:53 +00:00
Jacques Le Roux ec65f0fe24 No functional change, TOP contains already a trailing backslash so no need to had another one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733577 13f79535-47bb-0310-9956-ffa450edef68
2016-03-04 10:41:21 +00:00
Jacques Le Roux 96eaa864f5 Small update mostly about OTP, the "nicely" scripts, and notsoserial Java agent replacing contrast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1733063 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 13:36:43 +00:00
Jacques Le Roux a11036b215 A patch from Forrest Rae for "ApplicationDecorator Entity-One Screen Action Incomplete Primary Key" https://issues.apache.org/jira/browse/OFBIZ-6918
ApplicationDecorator entity-one screen action supplies an incomplete primary key.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1732721 13f79535-47bb-0310-9956-ffa450edef68
2016-02-28 11:58:10 +00:00
Jacques Le Roux d6bc5e655e Reverts Revision: 1732631
This was a test for "Upgrade Axis2 to 1.7.0" - https://issues.apache.org/jira/browse/OFBIZ-6916 and failed: needs more work...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1732637 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 13:12:10 +00:00
Jacques Le Roux a5af814695 This is a test for "Upgrade Axis2 to 1.7.0" - https://issues.apache.org/jira/browse/OFBIZ-6916
It's a security update. It also concerns OFBIZ-6755 but to not mix things it will be done later. So to not block this issue, the commons-httpclient-3.1 lib is moved from framework/service/lib to specialpurpose/passport/lib/ where it's still required (no code change in this commit, only libs update)

It's a test because I began this work on Windows and there the NTML Auth is expected https://axis.apache.org/axis2/java/core/docs/http-transport.html#preemptive_auth. So, on my machine, I get this error with testSOAPSimpleService and testSOAPService:

TestRunContainer              |W| [JUNIT (error)] - testSOAPSimpleService : org.ofbiz.service.GenericServiceException: Service [testSoapSimple] Failed (org/apache/commons/httpclient/NTCredentials)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/NTCredentials
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.createHTTPSender(CommonsHTTPTransportSender.java:414) ~[axis2-transport-http-1.7.0.jar:1.7.0]


Since I don't want to introduce more complexity at this stage I hope the basic Auth will be used in BuildBot and the tests will all pass. Else I will revert and do more work...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1732631 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 12:28:08 +00:00
Jacques Le Roux 372a6d7582 I made an error while naming Tomcat extras files at r1717760. This fixes it including .classpath file - Tomcat 7.0.65 - OFBIZ-6752
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1732570 13f79535-47bb-0310-9956-ffa450edef68
2016-02-26 22:41:03 +00:00
Jacques Le Roux 7247d53333 I forgot to update the .classpath file at r1730882 for OFBIZ-6905
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1732454 13f79535-47bb-0310-9956-ffa450edef68
2016-02-26 11:05:41 +00:00
Jacques Le Roux 39ed77a2d8 A patch from Amit Gadaley for "Exclusion of Manufacturing components leads to load errors" https://issues.apache.org/jira/browse/OFBIZ-6757
Pierre Smits: When loading data into OFBiz without the manufacturing component the process ends unsuccessful.

Deepak: Entity related error should be fixed under OFBIZ-6760, apart from it there are dependency of ecommerce demo data on manufacturing demo data. 

jleroux: Duplicating those data (present in Manufacturing) into ecommerce is indeed a smart solution. If they are already loaded (like OOTB) they will not be loaded twice. If they are not there they will be loaded. 
Conclusion: sometimes duplication is smart (especially with OFBiz data) and this is a good way to introduce independency between components...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731665 13f79535-47bb-0310-9956-ffa450edef68
2016-02-22 15:49:05 +00:00
Deepak Dixit 94eefdcb72 OFBIZ-6278: Merged changes done at 1675464, 1675465 and 1675466 from OFBIZ-6275 branch to trunk.
Log:
==========================================================
- Make use of ResourceLoader.readXmlRootElement, which is
non-caching; this fixes a deprecation warning.
- Use ResourceLoader.readXmlRootElement, which is a
non-caching version.  This fixes a deprecation warning.
- Provide method variants (readXml{Document,RootElement}) that contain the body of the deprecated methods (getXml{Document,RootElement}).
==========================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731399 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 13:16:03 +00:00
Arun Patidar afc7477ebf [OFBIZ-6801] Fixed issue of removeContentFromProductConfigItem request by passing request parameters by submiting a form. Thanks Pramod Kumar Singh for reporting issue and Mohammad Irshad Gouri for providing patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731396 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:56:48 +00:00
Ashish Vijaywargiya d7cbb33f66 Applied patch from jira issue - OFBIZ-6012. Show "Create Return" button on order view screen other than when order status is complete. Thanks Christian Carlow for creating the issue and providing the patch for the same. Thanks Aditi for providing the improved patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731393 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:47:42 +00:00
Deepak Dixit 06dbe2a87c (OFBIZ-5780) Removed deprecated warning from FoFormRender as we don't have support to create MacroFormRender object in services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731392 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:45:19 +00:00
Arun Patidar 4f484099a8 [OFBIZ-6909] Applied patch for adding a new fieled 'disabledBy' in UserLogin entity.Thanks Yashwant for reporting issue and patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731390 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:35:31 +00:00
Deepak Dixit 5a1f3c9dda OFBIZ-6284: Merged changes done at r#1675520 in OFBIZ-6275 branch into Trunk.
Log:
===========================================================
Fix deprecated use of
SimpleMethod.getAll{Entity,Service}NamesUsed(), instead 
using ArtifactInfoContext.
============================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731387 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:19:15 +00:00
Deepak Dixit c8add13c70 OFBIZ-6279: Migrated changes from r1675462 to Trunk.
Log:
============================================================
UtilDateTime implements deprecated methods, so add the
@Deprecated tag to stop javac from producing a warning.
============================================================

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731385 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:11:01 +00:00
Arun Patidar 00d779f071 [OFBIZ-6911] Added return message in service after succesfully deleting of contactMech record. Thanks Aman for providing patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731382 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:03:08 +00:00
Deepak Dixit 51cb141c5e OFBIZ-6277: Merge changes from r1675521 to Trunk:
Log:
============================================================
new Configuration() is deprecated; instead, the desired
freemarker version should be passed in.  To make it easier to control
the version centrally, add a helper method on FreeMarkerWorker that
wraps the instantiation of the Configuration object.
============================================================


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731380 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:01:23 +00:00
Ashish Vijaywargiya 0de44f32b9 Applied patch from jira issue - OFBIZ-6311. Order Manager ViewQuote screen should display party name and link to party manager
Thanks Forest Rae for creating the issue and providing the patch for the same. Thanks Aditi for providing the improved patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731379 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 12:00:18 +00:00
Deepak Dixit 10886a0252 (OFBIZ-5780) Fixed some compilation warning:
- Mark some SecurityFactory method as deprecated 
- Mark FoFormRender as deprecated
- Fixed deprecation warning for PassportUtil class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731377 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 11:46:08 +00:00
Ashish Vijaywargiya b0f38491af Applied patch from jira issue - OFBIZ-6906.
Show currencyUomId of the invoice in the invoice selection for payments.
Thanks Pierre for creating the issue and Thanks Jagpreet for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731371 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 11:05:50 +00:00
Deepak Dixit 6030811211 (OFBIZ-6281) Replace html widget rendering with Macro widget rendering in framework/widget files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731366 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 10:26:25 +00:00
Deepak Dixit 0e05930bea (OFBIZ-6283) Replace html widget rendering with Macro widget rendering in FoPrintServerEvents.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731361 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 10:14:51 +00:00
Arun Patidar 6214091000 [OFBIZ-6910] Set productFeatureTypeId as INOUT in service defination so that calling service can use it for further processing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731359 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 10:06:07 +00:00
Deepak Dixit 13fef7cf02 (OFBIZ-6285) Replace html widget rendering with Macro widget rendering in OutputServices.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731355 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:21:09 +00:00
Deepak Dixit dd98b3877c (OFBIZ-6288) Replace html widget rendering with Macro widget rendering in ExamplePrintServices.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731353 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:09:50 +00:00
Deepak Dixit 9a1e92d09e (OFBIZ-6289) Replace html widget rendering with Macro widget rendering in Oagis classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731350 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:05:40 +00:00
Hans Bakker b7411c09bf https://issues.apache.org/jira/browse/OFBIZ-6802 : corrective patch for xml and pdf error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731348 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:05:08 +00:00
Deepak Dixit b48726bdd0 (OFBIZ-6287) Replace html widget rendering with Macro widget rendering in BirtEmailServices.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731346 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 08:55:27 +00:00
Deepak Dixit 9e29f0d9fb (OFBIZ-6282) Replace html widget rendering with Macro widget rendering in EmailServices.java file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1731343 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 08:48:31 +00:00
Nicolas Malin 03ca7e7ed0 Complete commit 1728261, add generic service permission productPriceGenericPermission on service deleteProductPriceCond, createProductPriceAction, updateProductPriceAction, deleteProductPriceAction, createProductPromoCode, updateProductPromoCode, deleteProductPromoCode.
Correct description *an Pro..* to *a Pro...*

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730942 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 20:59:17 +00:00
Nicolas Malin cfb237f2b8 correct commit r1728261 relate to issue OFBIZ-6873 : add seca to addPartyToFacilityGroup and addPartyToFacility, if a roleTypeId is present call ensurePartyRole. Correct the entity name present on crud PartyToFacilityGroup service. Thanks Jacques for spotted this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730935 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 20:44:43 +00:00
Jacques Le Roux baecfb7b77 Reverts r1730873 which itself reverted r1730320 because tests did not pass. But just 4 minutes before my commit (at least I received it 4 mins before) Jinghai fixed the issue at r1730790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730921 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 19:30:54 +00:00
Jacques Le Roux 089b933782 A patch from Pierre Smits for "printCheck action generates an error" https://issues.apache.org/jira/browse/OFBIZ-6898
When generating a check (/accounting/control/printChecks.pdf?paymentId=demo10000) following error is generated:
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31)
     [java] javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31); Screen XSL:FO text was:

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1730889 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 17:47:47 +00:00