Commit Graph
3703 Commits
Author SHA1 Message Date
Hans Bakker 2afeecbe5f remove antwebsystems.com references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736947 13f79535-47bb-0310-9956-ffa450edef68
2016-03-29 05:09:29 +00:00
Jacques Le Roux 59dea3abf4 A 1st patch from Pierre Smits for <<Have the ability to test solr queries through widgets (screens & forms)>> https://issues.apache.org/jira/browse/OFBIZ-6595
Adding widgest (screens, forms, etc) so that an end-user can execute a search  against the data indexed would enhance the applicability of the application.
This patch is the first increment to address the issue. Please feel free to test drive and provide feedback
Currently it includes the following aspects:

    SolrMenus.xml - providing the application menu, items:
        main - opening the start screen of the app
        admin - opening the Solr admin page in a new target
        newquery - opening the query screen
    SolrScreens.xml - defining Solr specific screen widgets
    CommonScreens.xml - defining the common screens for Solr specific screen widgets
    SolrUiLabels.xml - defining Solr app specific labels
    SolrForms.xml - defining Solr specific form widgets
    controller.xml - (re)defining request-map and view-map re widgets

This file also includes a modification to web.xml of the Solr component, changing the mainDecoratorLocation
This patch currently doesn't include functionality to execute a query through widgets and show the result.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736878 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 12:15:15 +00:00
Jacques Le Roux 21a63144a1 A patch from Pierre Smits for <<relocate .ftl files in the project component>> https://issues.apache.org/jira/browse/OFBIZ-6812
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736876 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 12:08:13 +00:00
Jacques Le Roux cea52bce1b A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
Did not notice I got that

delete --force C:/projectASF-Mars/ofbiz/specialpurpose/myportal/widget/RegisterPerson.ftl
    SQLite error
svn: sqlite[S10]: disk I/O error
svn: Additional errors:
svn: sqlite[S10]: disk I/O error

Deleting again

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736872 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:20:43 +00:00
Jacques Le Roux 1451befaaa A patch from Pierre Smits for <<relocate .ftl files in the myportal component>> https://issues.apache.org/jira/browse/OFBIZ-6860
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736870 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:16:52 +00:00
Jacques Le Roux 2b5e4f3c34 A patch from Pierre Smits for <<relocate .ftl files in the wepbpos component>> https://issues.apache.org/jira/browse/OFBIZ-6837
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736869 13f79535-47bb-0310-9956-ffa450edef68
2016-03-28 11:15:43 +00:00
Jacques Le Roux e5bd917be1 Fixes "Failed to load contentForum.css" - https://issues.apache.org/jira/browse/OFBIZ-6956
Got the following error when accessing ecommerce main page
"NetworkError: 404 Not Found - https://127.0.0.1:8443/contentimages/contentForum.css"

jleroux: contentimages webapp path was wrongly used there instead of simply content. I replaced all occurrences


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736628 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 18:02:16 +00:00
Jacques Le Roux 56a5229f04 Fixes "jquery plugin jgrowl is loaded before jquery in ecommerce" - https://issues.apache.org/jira/browse/OFBIZ-6957
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736614 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 16:41:36 +00:00
Jacques Le Roux f790372856 Reverts r1735777, it was for "Credit card valdation does not work properly during anonymous quick checkout process" - https://issues.apache.org/jira/browse/OFBIZ-1585
Few tests don't pass

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736164 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 09:18:59 +00:00
Jacques Le Roux b133559c7e No functional change.
xpos.properties was wrongly committed at r1736083, this removes unwanted changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736087 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:38:47 +00:00
Jacques Le Roux 3832dad8b1 This partially reverts r1735569 to simplify and have less commented out parts.
Fixes "Comment out RMI related code because of the Java deserialization issue" - https://issues.apache.org/jira/browse/OFBIZ-6942

We decided to comment out as less as possible because once, in the start and both properties; the rmi part is off and the related test services are off there is no RMI related danger left (test services are not a danger but would fail during tests run). 
It's then easier for users who need RMI in their projects to have only to uncomment those and not digg everywhere.

[CVE-2016-2170] The infamous Java serialization vulnerability

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736083 13f79535-47bb-0310-9956-ffa450edef68
2016-03-21 20:17:59 +00:00
Divesh Dutta 9a1b4c8334 [OFBIZ-5703] Fixed: Project contents were not getting deleted. auto-parameters-entity does not seems to be working, for now passed all the needed parameters. Thanks Anuj Jain for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735778 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:57:27 +00:00
Divesh Dutta c62106f466 Fixed : Credit Card validation does not work properly during anonymous quick checkout process. Added new method checkoutValidation which will validate if shipping method and payment method are in cart and if not available then this method will return error. Thanks Jagpreet Kaur for the patch and Late Raj Saini for reporting this bug.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735777 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 14:38:48 +00:00
Deepak Dixit 855e607e52 (OFBIZ-6861) Fixed Search.groovy, use correct method for analyzer, QueryParser and TopScoreDocCollector.
Thanks Pierre for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735759 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:47:06 +00:00
Deepak Dixit aec99281a5 (OFBIZ-6859) Fixed Search.groovy, use correct method for analyzer, QueryParser and TopScoreDocCollector.
Thanks Pierre for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735756 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:40:05 +00:00
Deepak Dixit 19e9522bd0 (OFBIZ-6860) Applied patch from jira issue.
============================================================
ProductSearch generates an errorr
============================================================
Thanks   Pierre for reporting issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735753 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:27:49 +00:00
Deepak Dixit 0b130d0a96 (OFBIZ-6894) Applied patch from jira issue.
============================================================
Cannot find linkToProduct from createCommunicationEvent SECA 
============================================================
Thanks  Jacques for reporting issue and Rehan Khan for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735750 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 11:12:38 +00:00
Deepak Dixit bc45785b8c Added missing jgrowl js and css file for ecommerce main-decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735747 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:28:09 +00:00
Shi Jinghai 4882df4738 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/specialpurpose@1735021 13f79535-47bb-0310-9956-ffa450edef68
2016-03-15 06:06:33 +00:00
Jacques Le Roux b5f3979856 "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/specialpurpose@1733956 13f79535-47bb-0310-9956-ffa450edef68
2016-03-07 18:48:14 +00:00
Jacques Le Roux c957c0c02d 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/specialpurpose@1732637 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 13:12:10 +00:00
Jacques Le Roux d79c047f3a 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/specialpurpose@1732631 13f79535-47bb-0310-9956-ffa450edef68
2016-02-27 12:28:08 +00:00
Jacques Le Roux 23d9786ef9 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/specialpurpose@1731665 13f79535-47bb-0310-9956-ffa450edef68
2016-02-22 15:49:05 +00:00
Deepak Dixit eb98b23e90 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/specialpurpose@1731399 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 13:16:03 +00:00
Deepak Dixit cab3b7739c (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/specialpurpose@1731377 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 11:46:08 +00:00
Deepak Dixit f1a8d15c4d (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/specialpurpose@1731353 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:09:50 +00:00
Deepak Dixit b2da1e6854 (OFBIZ-6289) Replace html widget rendering with Macro widget rendering in Oagis classes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1731350 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 09:05:40 +00:00
Deepak Dixit 1245fb9efe (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/specialpurpose@1731346 13f79535-47bb-0310-9956-ffa450edef68
2016-02-20 08:55:27 +00:00
Jacques Le Roux 96d15f033e 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/specialpurpose@1730921 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 19:30:54 +00:00
Jacques Le Roux 722056f8d9 In framework/base/lib/ updates Xalan from 2.7.1 to 2.7.2 because of CVE-2014-0107 (was fixed at XALANJ-2435) - https://issues.apache.org/jira/browse/OFBIZ-6905
This implies to update also Xerces from 2.9.1 to 2.11.0 and also xml-apis from 2.9.1 to 1.4.01 (2.9.1 was a wrong version number. It was actually part of the Xerces 2.9.1 package but I was unable to find the real version number then at https://xerces.apache.org/xerces2-j/releases.html)

Also updates Xalan from 27(?) to 2.7.2 in cmssite/template/docbook/extensions. I rendered https://localhost:8443/cmssite/cms/APACHE_OFBIZ_HTML w/o issues
	
Note: According to the DOM Level 3 specification and DOM Level 2 errata the createElementNS and createAttributeNS methods convert empty string namespaceURI to null. 

jleroux: though the tests pass I'm not sure all is covered...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1730882 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 17:29:40 +00:00
Jacques Le Roux fbf3349d3b Reverts r1730320 because tests don't pass and I need to have the tests clean to move ahead.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1730873 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 16:57:08 +00:00
Shi Jinghai 4b6fd34e46 OFBIZ-6715 Solr rebuild problem.
Changes are:
1. Comment out solr eecas.xml as it's duplicated to ecas in eecas_product.xml.
2. Add default-value="solrdefault" to indexName of addToSolr service.
3. Replace some tabs with spaces.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1730790 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 07:32:08 +00:00
Shi Jinghai 43d25fe7e7 Refs OFBIZ-6715 Solr rebuild problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1730320 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 11:59:59 +00:00
Jacopo Cappellato f89c50833e OFBIZ-6568 With the implementation of @BaseScript annotations (introduced with Groovy 2.3.0) something was broken in the CompilerConfiguration.setScriptBaseClass method and an error is thrown when our scripts are executed; the workaround is to execute at startup a script containing the @BaseScript annotation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1729809 13f79535-47bb-0310-9956-ffa450edef68
2016-02-11 11:24:51 +00:00
Jacopo Cappellato aa6c3a64ab OFBIZ-6568: upgraded Groovy to the latest version (2.4.5).
[CVE-2016-2170] The infamous Java serialization vulnerability


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1729609 13f79535-47bb-0310-9956-ffa450edef68
2016-02-10 14:38:00 +00:00
Jacques Le Roux cfe634bb57 To be consistent with r1729002, removes also one of the ".properties" part which was left in ecommerce/login.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1729004 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 18:33:13 +00:00
Jacques Le Roux 5ca66960d4 A modified patch from Pierre Smits for "Replace Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue in .ftl files with EntityUtilProperties variant" https://issues.apache.org/jira/browse/OFBIZ-6884
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue is used in several .ftl files. 

Replaces with EnittyUtilProperties variant where appropriate. 

jleroux: In this is the 2nd commit from the 3rd patch (the 2nd had issues) I fixed 2 "typos" I spotted while reviewing in
  ecommerce/customer/editcontactmech.ftl
  ecommerce/customer/newcustomer.ftl
where "UtilProperties" was not replaced



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1729002 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 18:23:49 +00:00
Jacques Le Roux c0f0542a53 Reverts r1728959 because of misc. issues with the patch, see my comment at https://issues.apache.org/jira/browse/OFBIZ-6884
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1728961 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 13:59:41 +00:00
Jacques Le Roux f50fd14109 A patch from Pierre Smits for "Replace Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue in .ftl files with EntityUtilProperties variant" https://issues.apache.org/jira/browse/OFBIZ-6884
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue is used in several .ftl files. 

Replaces with EnittyUtilProperties variant where appropriate.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1728959 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 13:18:50 +00:00
Jacques Le Roux b9a4eb11a2 Removes forceHttpSession feature - https://issues.apache.org/jira/browse/OFBIZ-6879
We should always use HTTPS as explained at OFBIZ-6849

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1728381 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 22:07:10 +00:00
Jacques Le Roux c1984725a5 Not sure it's a real issue but stumbled upon while doing automated tests: webSiteId was null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1728376 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 21:24:28 +00:00
Jacques Le Roux 195acfce5a A patch from Pierre Smits for "Add wiki documentation regarding the solr component" https://issues.apache.org/jira/browse/OFBIZ-6592
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1727001 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 11:29:18 +00:00
Jacques Le Roux bb041ec5de Fixes "Error on the Split Payment button from the Quick Finalize Order screen" https://issues.apache.org/jira/browse/OFBIZ-6743
Error in trunk:
ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]
Error in stable and old:
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]

Vyom Jain added a comment - 22/Nov/15 07:50
This is an issue even in 09.04 and 10.04 code, so it has been there for sometime now.

Scott Gray added a comment - 03/Jan/16 05:43
The view-map was moved to ecommerce in r544053. Probably because the view-map wasn't referenced in the controller.xml for ordermgr. It is actually used though as a view override in component://order/webapp/ordermgr/entry/checkoutoptions.ftl
Just needs to be restored in the controller and have the screen moved back.

jleroux: So I moved back from ecommerce to order (with few adaptations)
* the checkoutpayment.ftl file 
* the order controller view-map
* the screen name checkoutpayment

I tested in both order and ecommerce, works! I will try to backport, let's see...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726828 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 15:43:17 +00:00
Jacques Le Roux a4231f0691 Something went wrong with r1720910 for OFBIZ-6226. There are duplicated labels now. Better to revert and redo correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726529 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 18:37:24 +00:00
Jacques Le Roux 0a982250e6 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/specialpurpose@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Jacques Le Roux 825286d68d 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/specialpurpose@1725257 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:08:12 +00:00
Jacques Le Roux d7d83b655a 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/specialpurpose@1725006 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 17:14:52 +00:00
Deepak Dixit 9aad52f584 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/specialpurpose@1724957 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 11:15:19 +00:00
Deepak Dixit e91538404a 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/specialpurpose@1724940 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:30:08 +00:00
Deepak Dixit 3ae8efbbb1 (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/specialpurpose@1724930 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 07:15:09 +00:00