Commit Graph
22613 Commits
Author SHA1 Message Date
Jacques Le Roux 7df0fcda3a Fixes "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849
Quoting Deepak on dev ML

Hi Jacques,

I think in fop.xconf file we have to keep http url, as FOP does not support
https baseUrl for external graphics due to certificate issue (not remember
exact reason).

{code}
 <!-- Base URL for resolving relative URLs -->
-  <base>http://localhost:8080</base>
+  <base>https://localhost:8443</base>
{code}

If we set the https as <base> than images will not be rendered. Please
refer
http://demo-trunk-ofbiz.apache.org/ordermgr/control/order.pdf?orderId=DEMO10091

and we get following error on console:
{code}

     [java] 2016-05-27 13:51:48,308 |http-nio-8443-exec-3 |FOUserAgent
              |E| Image not found. URI: /images/ofbiz_logo.gif. (No context
info available)

{code}
If we set the http url than its working fine.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745732 13f79535-47bb-0310-9956-ffa450edef68
2016-05-27 09:52:51 +00:00
Deepak Dixit 4f9a81abc3 (OFBIZ-7134) Added existence check to fix stack trace on return links ftl.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745713 13f79535-47bb-0310-9956-ffa450edef68
2016-05-27 06:04:27 +00:00
Jacques Le Roux 575e5aa487 Fixes a typo, no functional change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745710 13f79535-47bb-0310-9956-ffa450edef68
2016-05-27 05:41:25 +00:00
Pranay Pandey c9be231b5b [OFBIZ-7133] Applied patch from the ticket for UI fix for ecommerce cart summary to make it consistent with other sections.
Thanks Chandan Khandelwal for reporting the issue and thanks Arjun Kaushal for providing patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745600 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 13:27:55 +00:00
Deepak Dixit 8e0f281024 (OFBIZ-7079) Applied modified patch from jira ticket.
=======================================
Extend Product entity and add serialized field
=======================================

Thanks Avnindra for your patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745592 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 11:54:55 +00:00
Taher A. Alkhateeb 741ac838cc move validation logic to its correct place in StartupCommandUtil OFBIZ-6783
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745584 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 09:33:46 +00:00
Pranay Pandey 75635e8421 [OFBIZ-7100] Applied patch from the ticket to fix not working 'Acctg Trans Entries PDF' on payment details screen.
The issue was due to the missing 'util' package and introduced while conversion of Javolution collections (FastMap, FastList) into Java collections.

Thanks Swapnil M Mane for reporting the issue and providing the patch, thanks Deepak Dixit for reviewing the issue and providing comment to avoid any duplicate effort.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745577 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 08:46:00 +00:00
Pranay Pandey ce6b3dbb8b [OFBIZ-7131] Applied patch from the issue to fix error on adding manufacturing exception day. Added missing queryOne call for find operation.
Thanks Amardeep Singh Jhajj for the contribution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745573 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 08:27:44 +00:00
Pranay Pandey 7f8d1326cf [OFBIZ-7119] Now cmssite will start working again with mapkey in the url in trunk. The code block was commented while working on OFBIZ-4502.
As of now no WebSitePathAliases have been setup for any of the pages in cmssite demo data and that's one of the additional option to serve pages through CMS. So keeping it open for serving pages through mapkey shouldn't be blocked.  Data samples for usage of WebSitePathAlias can be added to demonstrate the ability CMS offers. 

Thanks Deepak and Jacques for your comments and help.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745569 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 06:56:39 +00:00
Deepak Dixit fb526ff4ab (OFBIZ-6981) Move groovy script under WEB-INF/actions for webpos.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745567 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 06:48:15 +00:00
Deepak Dixit f1fd6b0b44 (OFBIZ-6810) Fixed typo on tempExprMaint.ftl file name. Thanks Vaibhav Jain for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745559 13f79535-47bb-0310-9956-ffa450edef68
2016-05-26 05:33:25 +00:00
Jacques Le Roux e7cdb8a30d Implements "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849
All tests passes and the normal use of OFBiz seems to work

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745525 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 18:02:23 +00:00
Deepak Dixit 5bb84a92ca (OFBIZ-6810) Removed some unused screen and ftl, found during ftl cleanup. I took extra care while removing these code this should not break anything.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745500 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 15:05:50 +00:00
Deepak Dixit ac7b2dbfbb (OFBIZ-7021) Fixed typo in MerchantCalculations file name (merchantCaluclations == merchantCalculations)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745491 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 14:17:34 +00:00
Deepak Dixit 9fed239436 (OFBIZ-7021) Renamed and moved data template to correct location for ecommerce component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745483 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 13:31:26 +00:00
Jacques Le Roux bbc93ba99a Forgot to remove empty folders at r1745451
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745458 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 08:57:18 +00:00
Jacques Le Roux ad0a11eb31 Better to clean-all than only data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745457 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 08:56:33 +00:00
Jacques Le Roux b07a30e7a7 Update for
svninfo.ftl
  gitinfo.ftl
now
  SvnInfo.ftl
  GitInfo.ftl
ignore them
  


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745456 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 08:56:04 +00:00
Jacques Le Roux 32188a9d0f Since I introduced the use of PatternFactory.createOrGetPerl5CompiledPattern() in Minilang Regexp class at r1542960 the IfRegexpTest class and test are no longer needed.
Tested with "java -jar ofbiz.jar --test component=minilang --test suitename=MinilangTests"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745451 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 08:36:57 +00:00
Jacopo Cappellato 32bb7cb3d4 Added commons-cli jar to our LICENSE file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745449 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 07:10:14 +00:00
Pranay Pandey 9499060b5d [OFBIZ-7116] - Applied patch from the ticket for fixing issue in Product Backlog items update. Screenshot for the error attached on the ticket.
Steps to regenerate-
 1. Go to https://localhost:8443/scrum/control/AddProdBacklog?productId=DEMO-PRODUCT-1
 2. When try to update the backlog, error occurs.
 
 Thanks Amardeep Singh Jhajj for the contribution.
 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745438 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 06:42:01 +00:00
Pranay Pandey 089dcec997 [OFBIZ-7114] - Applied patch from the ticket for fixing issue in workEffort children tree which breaks when user collapse it from root node.
Thanks Amardeep Singh Jhajj for reporting the issue and providing patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745428 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 06:29:28 +00:00
Taher A. Alkhateeb ed564da850 major commit to start component - for OFBIZ-6783
This is another major refactoring exercise of the start
component in ofbiz. There are too many details in this commit
that may be summarized as follows:

- refactor Start.java to make it about 140 lines long and focused
  only on high level function calls. Also minimized the number of
  class fields (state) to only two (ServerState and Config)
- Separate the AdminPortThread into a new class with some refactoring
  done to ensure interoperability with other classes
- delete CommonsDaemonStart as jsvc is not yet fully implemented in ofbiz
  and it stands in the way of a proper refactoring of ofbiz
- refactor everything so that all dependencies between classes are explicit
  through function calls (no hidden state or declarations)
- Move all the server processing logic (status, shutdown, start ...) to a 
  new class called StartupControlPanel. All methods in this class are static 
  with side effects only limited to the arguments passed to them.
- Add a few missing apache copyright headers
- Refactoring some method, variable and enum names to make them clearer
- Refactor Config.java and make it much cleaner and simpler by breaking 
  things down into private methods. Also changed the portoffset to be
  a normal int instead of a boxed int (Integer)
- redefine most classes to be package protected (not public) to offer
  more isolation from the rest of the framework
- redefine most classes to be final


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745351 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 12:26:28 +00:00
Jacques Le Roux c39a127c8c A patch from Akash Jain for "Backordered flag should not be shown for service product" https://issues.apache.org/jira/browse/OFBIZ-7092
These are the steps:
-- Initiate sales order.
-- Add service product (ex. sv-1000) in the cart

Backordered flag (attached screen-shot) should not be shown for service product.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745315 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 07:42:38 +00:00
Deepak Dixit c52b8ebedc (OFBIZ-7021) Corrected svninfo and gitinfo file name after renaming file I missed it to updated at some places.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745303 13f79535-47bb-0310-9956-ffa450edef68
2016-05-24 06:01:25 +00:00
Jacques Le Roux c7b77f68dc A patch from Akash Jain for "Remaining quantity should be ZERO for completed order items" https://issues.apache.org/jira/browse/OFBIZ-7093
There are the steps:
-- Initiate sales order.
-- Add service product (ex. sv-1000) in the cart
-- Place order and mark approved.
-- Order item of service product will be completed but Remaining quantity still ONE (attaching screen-shot).

Expected Result:
-- Order item of service product should be completed (working)
-- Remaining quantity should be ZERO (need to fix)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745272 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 20:56:20 +00:00
Jacques Le Roux da681699e6 A patch from Kongrath Suankaewmanee for "The number of gl account when printing/exporting chart of account pdf report in global gl setting alway show 20 items. " https://issues.apache.org/jira/browse/OFBIZ-7038
At https://localhost:8443/accounting/control/globalGLSettings
the number of GL accounts is wrong: always 20 items in PDF report list and same problem with XML export in the same screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745264 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 20:42:00 +00:00
Deepak Dixit 798768f445 (OFBIZ-7021) Renamed remaining specialpurpose component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745115 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 06:59:04 +00:00
Pranay Pandey b8e99ce673 [OFBIZ-7109] Fixed missing parameter error on deleting workeffort contactmech.
Thanks Amardeep Singh Jhajj for reporting the issue and providing the patch. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745111 13f79535-47bb-0310-9956-ffa450edef68
2016-05-23 06:23:15 +00:00
Jacques Le Roux c7478af54a Reverts r1745010, it did not occurs to me that it was in a display field. And the simplified syntax (no HTML entities) does not work in these fields because of this https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML
The error msg is "The entity name must immediately follow the '&' in the entity reference."

For a reason I'll check later this works in '<set field value="${groovy: ' cases...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745012 13f79535-47bb-0310-9956-ffa450edef68
2016-05-22 05:37:29 +00:00
Jacques Le Roux a1fad80934 No functional change, in grovvy snippet we can get rid of &amp; and such, this does it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745010 13f79535-47bb-0310-9956-ffa450edef68
2016-05-22 04:41:27 +00:00
Divesh Dutta 14ca187fbb [OFBIZ-7102] When PO is created and approved and user adds new item in PO, new item is in created status. Now we have a button to approve that item , thought that button's name is misleading. Changed button name from Approve Order to Approve item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744948 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:56:57 +00:00
Deepak Dixit fdf1222c06 (OFBIZ-7021) Renamed specialpurpose ecommerce component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744942 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:43:11 +00:00
Ashish Vijaywargiya fdd2805a14 Applied patch from jira issue - OFBIZ-5290 - show quantityUom in BoM.
Thanks Pierre for creating the patch and thanks Aman, Yashwant for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744940 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:28:45 +00:00
Ashish Vijaywargiya 7310b26616 Applied patch from jira issue - OFBIZ-5289 - Show quantityUom in production runs.
Thanks Pierre for creating the issue and Thanks Akshay and Yashwant for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744937 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:18:56 +00:00
Pranay Pandey 0cb3d98f74 [OFBIZ-7003] Applied patch from the ticket. Fixed error on console when accessing project manager.
Thanks James Yong for reporting the issue, thanks Montalbano Florian for review and comment and thanks Chandan Khandelwal for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744929 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 12:41:42 +00:00
Mridul Pathak 4f45349b05 [OFBIZ-7097] RUN MRP is not working properly for multiple facilities. It deletes the 'Proposed' requirements for all facilities and creates only for selected facility. Thanks Ankit Joshi for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744925 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 12:21:20 +00:00
Ashish Vijaywargiya aceb72af1e Minor change in my previous commit - 1744919
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744921 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 12:14:10 +00:00
Ashish Vijaywargiya 4732679f73 Applied patch from jira issue - OFBIZ-5291 - show quantityUom in InventoryByProduct.
Thanks Pierre for creating the issue and Thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744919 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 12:05:57 +00:00
Ashish Vijaywargiya 79ced8b4a5 Applied patch from jira issue - OFBIZ-7103 - FreeMarker template error: Template inclusion failed, on selection bluelight theme.
Thanks Rahul for creating the jira issue and providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744918 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:56:01 +00:00
Divesh Dutta f6d8b33cf9 [OFBIZ-7101] When changing the status of any return to 'accepted', the status of return item should be changed to 'accepted' as well. Thanks Anuj Jain for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744911 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:38:44 +00:00
Ashish Vijaywargiya 8d5599c88d Applied patch from jira issue - Quote report doesn't show terms of the quote - https://issues.apache.org/jira/browse/OFBIZ-5861
Thanks Pierre for creating the issue and Thanks Ravi for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744910 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:38:36 +00:00
Pranay Pandey fdd92427df [OFBIZ-7091] Applied patch from the ticket for improvement on Edit Promo Screen where two empty options were being shown in shipping method select box.
Thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744904 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:18:19 +00:00
Jacques Le Roux dff14c3faa "Product price rule with no conditions." - https://issues.apache.org/jira/browse/OFBIZ-6895
I decided to simply improve the ProductConditionsThenActions labels. Here are the French and English ones.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744903 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:15:25 +00:00
Deepak Dixit 27669c5c62 (OFBIZ-7090) Applied patch from jira issue
=======================================================
Return Pdf is throwing exception
=======================================================

Thanks Nameet Jain for reporting the issue and Renuka for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744902 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 11:10:21 +00:00
Mridul Pathak 13283bfc6e [OFBIZ-7098] Remove restriction of setting PARTY_ENABLED as first default status of party. Thanks Suraj Khurana for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744893 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 10:36:57 +00:00
Pranay Pandey 066b6a470f [OFBIZ-7099] Fixed: Service entity auto not having duplicate record check when we pass single primary key.
Thanks  Amardeep Singh Jhajj for reporting the issue and providing patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744892 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 10:30:36 +00:00
Ashish Vijaywargiya 47a05fffbc Applied patch from jira issue - OFBIZ-5288 - Show quantityUom in InventoryValuation Report.
Thanks Ravi for the contribution and thanks Pierre for creating the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744888 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 10:23:34 +00:00
Divesh Dutta fdb701af3c [OFBIZ-7049] Fixed: Sales Return Item Status is misleading. expectedStatusId field of ReturnItem is shown in UI in Return overview screen, statusId should be shown instead of expectedStatusId. expectedStatusId is status of inventoryItem, when product is received in inventory. It should not be shown for return item itself. Thanks Swapnil for reporting the ticket and thansk Anuj for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744884 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 09:55:35 +00:00
Mridul Pathak c73f46f99a [OFBIZ-7035] Have https://localhost:8443/example/control/fonts.pdf open in a new window. Thanks Pierre Smits for reporting the improvement and Suraj Khurana for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1744883 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 09:48:41 +00:00