Commit Graph
27737 Commits
Author SHA1 Message Date
Arun Patidar 71059ef9c6 [OFBIZ-7147] Fixed invoiceType data. Added new InvoiceType 'INVOICE' and set it as parent type for SALES_INVOICE, PURCHASE_INVOICE and TEMPLATE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746459 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 13:31:00 +00:00
Ashish Vijaywargiya 96bd139501 Applied patch from jira issue - OFBIZ-7142 - Error on updating product categories from Product's Quick Admin page.
=========================================================
Step to regenerate:
1) Go to FindProduct screen and go to the detail screen of product.
2) Now navigate to the quick admin screen.
3) Update categories under category section. Here error message will appear.

Cause:
Cannot cast java.lang.String to java.sql.Timestamp
=========================================================
Thanks Ravi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746450 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 12:53:06 +00:00
Deepak Dixit b2698c432b (OFBIZ-7079) Added condition on EditProduct form, now inventoryItemTypeId will be enable only for createProduct, and on EditProduct screen it will be displayed as readonly instead of editable dropdown. Also fixed fk-name for inventoryItemTypeId relation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746422 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 10:55:17 +00:00
Jacques Le Roux 0e7696a881 Adds a missing xls reference in platform-specific, stumbled upon it by chance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746420 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 10:51:20 +00:00
Deepak Dixit dcee04d3e2 (OFBIZ-7141) Updated dependency-check-report.html to include recently updated jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746400 13f79535-47bb-0310-9956-ffa450edef68
2016-06-01 06:24:14 +00:00
Jacques Le Roux 3aadf4e8da A slightly modified patch from James Yong for "Autocompletion for Compound Widget" https://issues.apache.org/jira/browse/OFBIZ-7061
1. The following xsd are duplicated to use namespaces
  site-conf.xsd     ->  site-conf-ns.xsd
  widget-form.xsd   ->  widget-form-ns.xsd
  widget-screen.xsd ->  widget-screen-ns.xsd
  widget-menu.xsd   ->  widget-menu-ns.xsd
  simple-methods.xsd->  simple-methods-ns.xsd
For example, in site-conf-ns.xsd, we have the following document level attribute
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns="http://ofbiz.apache.org/Site-Conf" targetNamespace="http://ofbiz.apache.org/Site-Conf">
instead of 
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

2. The above schema are used into compound-widgets.xsd so that compound widgets use only one consolidated schema. 

3. Update ExampleCompoundWidgets.xml to use the new compound-widgets.xsd. For example
<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:sc="http://ofbiz.apache.org/Site-Conf"
        xmlns:sm="http://ofbiz.apache.org/Simple-Method"
        xmlns:wf="http://ofbiz.apache.org/Widget-Form"
        xmlns:wt="http://ofbiz.apache.org/Widget-Tree"
        xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
        xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
        xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
    
    <sc:site-conf>
        <sc:request-map uri="CompoundWidgets1">
            <sc:security https="true" auth="true"/>
            <sc:event type="simple" invoke="CompoundWidgetsFunc" path="component://example/widget/example/ExampleCompoundWidgets.xml"/>
            <sc:response name="success" type="view" value="CompoundWidgets1"/>
        </sc:request-map>
        <sc:request-map uri="CompoundWidgets2"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="CompoundWidgets2"/></sc:request-map>

        <sc:view-map name="CompoundWidgets1" type="screen" page="component://example/widget/example/ExampleCompoundWidgets.xml#CompoundWidgets1"/>
        <sc:view-map name="CompoundWidgets2" type="screen" page="component://example/widget/example/ExampleCompoundWidgets.xml#CompoundWidgets2"/>
    </sc:site-conf>
...... the rest

4. Change java code to support reading xml with namespace (i.e. xml for compound widgets)

jleroux: I simply replaced tabs by spaces in Java files and removed this commented out line 
  <compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/compound-widgets.xsd">
in ExampleCompoundWidgets.xml

We decided to duplicate the simple-methods.xsd rather than updating all concerned files. Else we would have to update the attributes at document level for rest of the controllers, menus, forms, simple methods and screens. For example, in controller.xml, we would have to change 
  xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd”
to 
  xmlns="http://ofbiz.apache.org/sc” xsi:schemaLocation="http://ofbiz.apache.org/dtds/site-conf-ns.xsd”>
But especially we would have to use the same syntax with namespaces prefixes than in ExampleCompoundWidgets.xml (see example above). This can be discussed because with auto-completion it's not a big deal, but could be overwhelming for existing custom projects...

James mentionned that "the schema location at compound-widgets.xsd is relative to the project...". I don't see any problems with that. We can keep as is as long as we maintain the relation (ie if the main XSDs are moved). Moreover with the previous addition of compound-widgets.xsd in widget-catalog.xml it seems all things work correctly (eg w/o the new *-ns.xsd yet committed, the auto-completion works well in ExampleCompoundWidgets.xml




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746302 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 16:48:09 +00:00
Jacques Le Roux 740942ffb7 An enhanced patch from Yashwant Dhakad based on Pierre Smits's for "Creating a QuoteRole doesn't return to overview of QuoteRoles" https://issues.apache.org/jira/browse/OFBIZ-6026
Currently, when adding a QuoteRole to a Quote the user stays in the screen associated with 'EditQuoteRole'. Thus the user has no confirmation that the QuoteRole is added successfully. It is better to show the overviews of the quote roles.

Yashwant Dhakad werified the patch and found that success message not shown on the screen, so updated the patch and now shown the success message when added role successfully.

jleroux: I moved the party field line to have the lookup show. Note: in case of error the message is still awful, not a big deal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746290 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 15:27:56 +00:00
Jacques Le Roux dd583d1cfe Patches from Amardeep Singh Jhajj for "Missing UiLabels for shortcuts in webpos" https://issues.apache.org/jira/browse/OFBIZ-7144
I found missing UiLabels for shortcuts in webpos in trunk and Release 14.12, it was committed in Release 15.12 at -r1729098. I think you somehow missed to commit it in trunk and Release 14.12. Please have a look on patches attached and commit it in their respective branches.

jleroux:
I was curious about that so I checked and it's "a bit" more complicated. This is related with OFBIZ-6226 where Mridul Pathak committed in
    Trunk - r1720910
    14.12 - r1720916
    12.04 - r1720930

But there was duplicated labels so I partially reverted (only the duplicated labels) at 
Trunk - r1726529
14.12 - r1726539
12.04 - r1726540

Later I noticed r1720910 was committed in Trunk before R15.12 creation, so I reverted there also at revision: 1729098, but not partially hence the inconsistency.  But actually I should have reverted all everywhere!

Remains that Mridul and Suraj were somewhere right. Like them I don't like the names of the labels, I believe that (eg) WebPosCheckout is far better than WebPosShortcutF7. So they were partiallly wrong at OFBIZ-6226, they duplicated labels but the names would be better if they were not refering to keyboard keys numbers...

I did not take care of R12.04

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746283 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 14:37:07 +00:00
Deepak Dixit 64d804e2e1 (OFBIZ-7141) Updated apache fop to 2.1 and also updated xmlgraphics-commons to 2.1.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746270 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 12:49:12 +00:00
Jacques Le Roux 06245c53ae A fix for "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849
The tests did not pass because of xmlrpc. Simply adding it in http.request-map.list in url.properties and like for SOAPService request setting <security https="false"/> does it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746254 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 08:39:07 +00:00
Taher A. Alkhateeb e8b73f703f related to r1746236 on OFBIZ-6783 to delete extra files forgotten
The patch that I provided only emptied the files when they should be
deleted. This removes them completely


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746239 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 06:56:21 +00:00
Taher A. Alkhateeb ca819dda9d Remove cobertura and sonar completely. Ref OFBIZ-6783
After getting consensus from the community in the email thread below
we agreed to remove these two items because they make the startup
logic more complex and also because many things are broken and 
unmaintained for years.

It is a good idea to reintroduce cobertura in the future on a cleaner
implementation, hopefully completely away from the start component and
perhaps as a container implementation.

The email thread:
http://ofbiz.markmail.org/message/b4jovfhurczunbam?q=remove+cobertura

The related JIRA:
https://issues.apache.org/jira/browse/OFBIZ-6783


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746236 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 06:43:11 +00:00
Arun Patidar 48828d2ca3 [OFBIZ-7123] Recalculated sales tax after updating/deleting any type of order adjustment. Thanks Rohit Kaushal for your patch and contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746228 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 05:34:13 +00:00
Arun Patidar fbe2dfb9d2 [OFBIZ-7140] Added Fetch Log Functionality parallel to View Log in webtools. Thanks Rishi Solanki for new feature and patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746227 13f79535-47bb-0310-9956-ffa450edef68
2016-05-31 05:26:43 +00:00
Jacques Le Roux 7531712225 A fix for "Use only HTTPS in OFBiz" - https://issues.apache.org/jira/browse/OFBIZ-6849
I just realised that the main change (the one in ConfigXMLReader.java, exposed in a comment in OFBIZ-6849) was not committed in r1745525. I guess it was because of tests I did for OFBIZ-4090, I certainly removed these changes then and forgot to put them back.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746159 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 17:40:10 +00:00
Pranay Pandey 681ebea533 [OFBIZ-7130] Applied patch from the ticket to fix error on console when navigating to update party email address view.
This error occurs due to the code used for dependent drop down for country and state. At party email address update page, no dependent drop down used, so js code triggering the request with empty countryGeoId and generating console error. Added check in code that if drop down field is not present on page then no need to observe it for the change. 

Thanks Amardeep Singh Jhajj for reporting the issue and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746130 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 13:34:35 +00:00
Deepak Dixit 5c64d0c835 (OFBIZ-7021) Corrected path for Content.ftl in DemoContent.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746097 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 08:58:30 +00:00
Deepak Dixit 090aeabeda Fixed typo in file names, found during data load.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746095 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 08:43:30 +00:00
Nicolas Malin 0d1f3230a3 add missing content-type on ExampleReportXls to force the mime file type send to user. Correct previous commit related to OFBIZ-6931.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746087 13f79535-47bb-0310-9956-ffa450edef68
2016-05-30 07:13:02 +00:00
Nicolas Malin ab92393570 Add xls screen renderer to convert a screen definition like an html flow directly ready by a spreadsheet application
In addition, add an export example button on FindExample screen and add complete macro ftl renderer unit test. Issue OFBIZ-6931 proposed by Leila Mekika. Thanks to her, jacques and pierre for theirs remarks.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746045 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 18:38:26 +00:00
Jacques Le Roux 4896a785f8 Updates or adds APACHE2_HEADER in windows batches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746036 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:57:52 +00:00
Jacques Le Roux e47504ad05 Slightly improves APACHE2_HEADER to hide header rem comments when running batches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746035 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:56:31 +00:00
Taher A. Alkhateeb f3e2a45ba0 add apache legal header for MS windows batch scripts
and also mention that the same header for Properties files
is also used for linux (or any unix) bash scripts


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1746030 13f79535-47bb-0310-9956-ffa450edef68
2016-05-29 16:39:35 +00:00
Jacques Le Roux c048e9c85a Ugrades PDFBox to 1.8.12 (or 2.0.1?) due to vulnerability - https://issues.apache.org/jira/browse/OFBIZ-7136
See CVE-2016-2175: Apache PDFBox XML External Entity vulnerability

I did not try to update to version 2.0.1. 
I only tested by using https://localhost:8443/example/control/ExampleReportPdfOptions?exampleId=EX01 but I got nothing, so I tried with R15.12 before backporting with the same issue so I guess it's unrelated with this update moreover with both branches I get an error in log for the barcode PDF I will open a Jira

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1745751 13f79535-47bb-0310-9956-ffa450edef68
2016-05-27 13:12:55 +00:00
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