Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 0dd95cedbf A patch from Anne Jessel for "Entity ECAs not triggered correctly when using Delegator.storeAll() method" https://issues.apache.org/jira/browse/OFBIZ-3847
As reported by  Martin Kreidenweis 
The conditions don't work when updating (not creating) entities using the Delegator.storeAll() method. E.g. the following condition does not work:
<eca entity="Product" operation="create-store" event="return">
        <condition field-name="autoCreateKeywords" operator="not-equals" value="N"/>
        <action service="indexProductKeywords" mode="sync" value-attr="productInstance"/>
</eca>
The indexProductKeywords service is called anyway when the product is updated and the autoCreateKeywords was "N" and stays "N". It works correctly for newly created products. 
The problem is in the method GenericDelegator.storeAll(), where unchanged field values are not passed down to the store() method. The store method calls the ECA engine, which does not receive the unchanged values at all and thus cannot evaluate the EECA conditions correctly. 

Scott's comment:We could consider having EntityEcaCondition.eval() perform a db lookup if any of the fields it needs to evaluate are missing. If they are missing it could fully populate the entity with the missing fields so that a lookup is only required at most once per delegator operation. If no ECA conditions require any missing fields then the lookup wouldn't be performed, so the performance penalty would only be incurred when necessary.


Anne: I've created a patch modeled after Scott's suggestion. I'd appreciate someone reviewing it. It does work for me, however I am concerned that it might fail when the value of a field that is part of the EECA condition is being changed from non-null to null using GenericDelegator.storeAll, because of the way storeAll works. There may be a simple solution I've missed.

jleroux: After reviewing  and waiting for Anne's feedback, I commit because even if in some cases it would not work it's at least better than current situation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716319 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 08:15:42 +00:00
Nicolas Malin e48fc92759 convert entities crud service from simple to entity-auto for :
* WebSiteRole
* WebSitePathAlias
* WebSiteContentType
* WebSiteContent
* WebSite
* DataResourcePurpose
* DataResourceMetaData
* OtherDataResource
* AudioDataResource
* VideoDataResource
* ImageDataResource
* DataResource (update/delete)
* ContentApproval
* ContentRevisionItem
* ContentRevision
I also move some service definition from file services.xml to services_content.xml for ContentApproval, ContentRevisionItem and ContentRevision
relate issue OFBIZ-6745

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716271 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 22:21:53 +00:00
Jacques Le Roux 6ebc90e694 Implements "Can not display product category name in Unicode." https://issues.apache.org/jira/browse/OFBIZ-6739
Rerported by Thanakrit Wongyued
I found problem to display product category name in Unicode (Thai UTF-8) . The problem is services in CategoryContentWrapper are create content mimeType in "text/html". Then i try to fixed this problem by replace "text/html" with "text/html; charset=utf-8". After that i recompile and restart OFBiz the problem is disappear.

jleroux: uses a new defaultMimeType content property, defaulting to "text/html; charset=utf-8", retrieved by EntityUtilProperties.getPropertyValue()


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716261 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 21:10:24 +00:00
Jacques Le Roux ed280c6052 Reverts r1715506, I crossed many issues, reported on dev ML and OFBIZ-6655
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716036 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 06:11:19 +00:00
Nicolas Malin ac1614d04f convert entities crud service from simple to entity-auto for :
* DataResourceAttribute
* ContentRole (not for create will set on second step)
* ContentMetaData
* ContentOperation
* ContentPurpose
* ContentPurposeOperation
* ContentAttribute
* ContentKeyword
* ContentType
* ContentAssocType
* ContentAssocPredicate
* ContentPurposeType
I also move some service definition from file services.xml to services_content.xml for all entities that concern content
relate issue OFBIZ-6745

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715960 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:26:33 +00:00
Nicolas Malin 51a98077a7 Convert Survey entites CRUD service from simple to entity-auto, related to issue OFBIZ-6744.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715788 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 12:32:47 +00:00
Nicolas Malin ec00f23292 complete commit r1710727 on OFBIZ-6354 that adding new ftl macros renderFormatHeaderOpen and renderFormatHeaderClose on htmlFromMacroLibrary.ftl. This commit adding these macro on textFormMacroLibrary.ftl, xmlFormMacroLibrary.ftl and csvFormMacroLibrary.ftl. The unit test widgettests now pass without failure
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715756 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 10:42:55 +00:00
Jacques Le Roux 9b94344fed A completed patch from Christian Carlow for "Replace EditProductAssoc ftl with widgets" https://issues.apache.org/jira/browse/OFBIZ-6320
jleroux:
Added
    bottom note (in both lists now)
    title="${uiLabelMap.ProductProductId}"
    title="${uiLabelMap.ProductProductIdTo}"
    fromDate <date-time default-value="${nowTimestamp}"
    tooltip="${uiLabelMap.ProductRecreateAssociation}"    
Removed
    EditProductAssoc.ftl
    old screen with ftl ref in screen (commented out by Christian)
    UNUSED FORMS comment
    Product column when same than picked (depend on iterate-section)

I liked the idea of changing the main product using a lookup in edit part.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715755 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 10:40:52 +00:00
Jacques Le Roux 2e95018e59 Better French label, there are plenty similar others but it's OK
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715670 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 18:28:55 +00:00
Jacques Le Roux 3303370703 Last categories section in e-commerce pages is broken. OFBIZ-6742
jleroux: This initially was my error in r1705417, So I simply reverted the change in r1715536 done for OFBIZ-6742 and also reverted r1705417 in this file. I will check other changes done in r1705417

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715573 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 21:01:52 +00:00
Mridul Pathak d7c01169a4 [OFBIZ-6742] Last categories section in e-commerce pages is broken. Applying patch from OFBIZ-6742. Thanks Amardeep Singh Jhajj for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715536 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 15:02:30 +00:00
Mridul Pathak f3a4e33c50 [OFBIZ-6534] Same Billing Address generates an error. Continue button was generating error as well. Applying patch from OFBIZ-6534. Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715531 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 14:23:05 +00:00
Deepak Dixit 2772e6b1d0 (OFBIZ-6655) Applied patch from jira issue.
============================================================
- Added session cookies config for ecommerce,ecomseo and ecomclone web.xml. 
- Used web-app 3.0 version for web-app
- Re-arrange description and display-name attribute as per the web-app structure.

Thanks Rahul for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715506 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:42:30 +00:00
Divesh Dutta 5e7ffc0692 [OFBIZ-6709] Now when you add party content, party profile page refresh, earlier it was not refreshing. Updated uiLabelJsonObjects method's (used for jsonify ui lables) signature. Added callback function in this method to get response returned from asynchronous ajax request. After this uiLabel object is available which resolves the issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715505 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:33:52 +00:00
Deepak Dixit db2ac3e040 (OFBIZ-2995) Applied patch from jira issue.
============================================================
Layout improvement for showing cart properly on order entry page for bizznesstime theme.

Thanks Aditya for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715504 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:23:22 +00:00
Deepak Dixit c523a77d08 (OFBIZ-6708) Applied patch from jira issue.
============================================================
Fixed Missing userLogin error on party profile screen when 1st content is non public. 

Thanks Jacques for reporting the issue :) and Thanks Vishal for providing the patch for the issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715501 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 12:02:00 +00:00
Ashish Vijaywargiya fe6aabb64d Applied bug fix from jira issue - OFBIZ-6741 - The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.
Thanks Aditya for reporting the issue and providing the fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715495 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:40:47 +00:00
Deepak Dixit 1151e3e65c (OFBIZ-6107) Applied patch from jira issue.
===========================================================
Currently the quote report (or print) opens in the same 
window. This should be in a new window(target = _BLANK)

Thanks Pierre Smits for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715494 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:39:32 +00:00
Deepak Dixit c1ba07a466 (OFBIZ-6241) Fixed table-layout="auto" FOP warning. Used table-layout="fixed" to fix the warning.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715493 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:14:05 +00:00
Deepak Dixit 7da7a18d8a Fixed EntitySaxReader compile time warning related to Freemarker configuration.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715491 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:04:59 +00:00
Jacopo Cappellato 2641d2ba5a Implemented ability to refund non-physical goods (e.g. services).
Thanks to Akash Jain for the contribution: OFBIZ-6728, OFBIZ-6729, OFBIZ-6730


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715485 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:15:16 +00:00
Ashish Vijaywargiya 75b2c9460b Applied patch from jira issue - OFBIZ-6682.
Type-ahead regarding requirement in ListWorkEffortRequirements throws an error.
Thanks Pierre for reporting the issue and thanks Jitendra for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715482 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 08:08:30 +00:00
Deepak Dixit 14547920ec (OFBIZ-6681) Corrected the lookup-target request for AddQuoteWorkEffort, Thanks Irshad for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715478 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:51:09 +00:00
Deepak Dixit 8c5854de3d (OFBIZ-6683) Corrected the lookup-target request for AddCommEventWorkEffort, Thanks Irshad for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715477 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:49:31 +00:00
Ashish Vijaywargiya 8f822f504a Applied bug fix from jira issue - OFBIZ-6698 - sendCommEventAsEmail does not filter CommEventContentAssoc.
Thanks Gareth for reporting the issue and thanks Rohit for providing the patch for this.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715475 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 07:26:05 +00:00
Mridul Pathak cdc16cc07d [OFBIZ-6725] Best Selling Products section in main order page takes into account cancelled orders. Applying patch from OFBIZ-6725. Thanks Aditya Patwa for your contribution. Thanks Jacques for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715471 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 06:56:42 +00:00
Deepak Dixit 0ed49d71f6 (OFBIZ-6171) Replace remaining occurrence of Open For Business with Apache OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715470 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 06:54:47 +00:00
Gil Portenseigne bc09ff18a7 OFBIZ-5750
I did review all createPartyRole service call in java/minilang/groovy, and replace some of the occurence with ensurePartyRole, one in SubscriptionServices.java that could cause issue, and others to ease the readability.

Thanks Taher for reporting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714976 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 11:54:40 +00:00
Gil Portenseigne 6b2feff682 OFBIZ-6703 Cannot create more than one lead in the SFA component by same user
Replace createPartyRole service call with ensurePartyRole, avoiding duplicate pk creation error.

Thanks Taher for reporting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714974 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 11:50:16 +00:00
Jacques Le Roux b70ccc9280 Being nice on demos VM (manual cases) with not stuck script
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714897 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 22:05:18 +00:00
Jacques Le Roux 4656390615 A patch from Jean-Luc Malet for "Add some UiLabels in French" https://issues.apache.org/jira/browse/OFBIZ-6732
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714828 13f79535-47bb-0310-9956-ffa450edef68
2015-11-17 16:26:06 +00:00
Jacques Le Roux 935ebd1160 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714694 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 22:03:41 +00:00
Jacques Le Roux e4bfdffcb1 Better French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714693 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 22:03:07 +00:00
Jacques Le Roux 7524cd299c Fixed a bug introduced w/ r1714652 (not sure on this one but better safe than sorry)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714691 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 22:00:52 +00:00
Jacques Le Roux d16b6da338 Fixed a bug introduced w/ r1714652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714689 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 21:56:56 +00:00
Jacques Le Roux 1b8b15b45d Fixed a bug introduced w/ r1714652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714688 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 21:54:10 +00:00
Jacques Le Roux fbca214fca Fixed a bug introduced w/ r1714652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714686 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 21:52:16 +00:00
Jacques Le Roux 77251ec69f Adds French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714683 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 21:48:08 +00:00
Jacques Le Roux 3c7cf2bd0d Fixes OFBIZ-6727 - Webtools Entity edition, the suggested date and time formats are not localised
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714657 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 20:32:00 +00:00
Jacques Le Roux b32ea9f89f No functional change, completes r1713985: removes superfluous .properties extension from UtilProperties requests (and yes I checked UspsServicesTests ;))
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714652 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 19:02:25 +00:00
Jacques Le Roux c66a9b8c30 Updates commons-collections lib from 3.2.1 to 3.2.2
[CVE-2016-2170] The infamous Java serialization vulnerability

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714571 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 12:24:13 +00:00
Jacques Le Roux efd15b5a63 Fixes "Project Manager throws error if project user is not assigned to every project" OFBIZ-4206 reported by Tolulope Aganga-Williams and well commented by Mansour Al Akeel and Pierre Smits
The project manager returns an error on the main page unless every user is added to every single project. It should return a list of just the projects the user is assigned to.

:ERROR MESSAGE: 
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040 (Error running Groovy script at location [component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy]: org.ofbiz.service.ServiceAuthException: You have no access to the project#: 10040) 
It defeats the point.

Mansour:
Pierre,
The patch seems to restrict access to this scree to "PROJECTMGR_ADMIN".
I am not sure if this issue is to be resolved in the screen or making the service returns projects the user has access to.
I appreciate your help here.

Pierre:
Hi Mansour,
You are right. The patch indeed does that and returns a blank screen for
users other than with access 'PROJECTMGR_ADMIN. Other users can look at
projects which will show projects the user is a member of.

jleroux:
I did not test all, but because of ListCurrentProjects.groovy, it seems to me that this is a better solution
I added the CommonAsk label to help lambda users better understand the situation (by asking :p)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714415 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 09:01:57 +00:00
Jacques Le Roux 6b6f77df6f A patch from Ankush Upadhyay attached by Ratnesh Upadhyay with analysis comments from Swapnil Shah for "Require Inventory of Marketing Package Product can't be shipped" https://issues.apache.org/jira/browse/OFBIZ-817 reported by Daniel Kunkel
Setting Require Inventory for a Marketing Product and (or ???) its Marketing Component causes the shiping system to fail. The shipping system reports nothing is ready to ship, ( [0 + 0 = 0] < 1 ).

---- exception report ----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
Exception: java.lang.Exception

Message: Error in simple-method [Quick ships an entire order from multiple facilities [file:/wrk/ofbiz/ofbiz/applications/
product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#quickShipEntireOrder]]: ; [Warning: no shipments created;
could not find anything ready and needing to be shipped.]

---- stack trace ---------------------------------------------------------------

java.lang.Exception: Error in simple-method [Quick ships an entire order from multiple facilities [file:/wrk/ofbiz/ofbiz/
applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml#quickShipEntireOrder]]: ; [Warning: no shipments
created; could not find anything ready and needing to be shipped.]

Swapnil Shah
As per further testing over trunk, it is found that setting requireInventory=Y over any marketing package type product means that for component products as well it would get honored even if its not set as Y for each or any of the components. 
In other words say,
* The flag is as set as Y for a marketing package type product A and it has ATP/QOH=15/15
* Product A has two component B & C as finished good and each having ATP/QOH = 8/8 and requireInventory is not set as Y for any of the components.
*  If sales order is attempted to be placed for A with ordered qty = 10 then system won't allow it to be placed because component B & C don't have sufficient ATP (irrespective of fact that none of them have requireInventory=Y)
Expected behavior in above case should be to allow user to place the order for Product A as it has sufficient ATP=15 to fulfill the ordered qty=10. If the ordered qty happens to exceed 15 then only it should prevent ordering based on requireInventory=Y

Ideally we shouldn't use the MARKETING_PKG product types as its a parent product type for product types MARKETING_PKG_AUTO, MARKETING_PKG_PICK. Thus we have changed the logic in "getMktgPackagesAvailable" service to handle product types MARKETING_PKG_AUTO, MARKETING_PKG_PICK to handle the reported issues more gracefully. Following are the changes we have done in the service vis-a-vis RequireInventory=Y setting for Package and/or its components. Now at the time of add to cart :
# if product type is MARKETING_PKG_AUTO then system will check it's own ATP instead of checking it's component ATP to allow or prevent placing order for package product..
# If product type is MARKETING_PKG_PICK then system will check it's component ATP to allow or prevent placing order for package product.

jleroux:
I agree with Swapnil,, since we can receive inventories of  MARKETING_PKG_AUTO, without regard to their components availability, I see no reasons why we could not ship them. 
BTW I tried the same with MARKETING_PKG_PICK and it works as expected: you need to have the components at hand to ship them even if you tried to receive an inventory before. Since they need to be picked this makes sense.

While at it I fixed a related French label, so it will be backported as well...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714410 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 08:40:31 +00:00
Jacques Le Roux 8dfbe6834c A patch from Pierre Smits for "remove superfluous comment from entity-eca.xsd" https://issues.apache.org/jira/browse/OFBIZ-6724
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714308 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 12:41:26 +00:00
Jacques Le Roux e712f47190 Let's try being nice on demos VM (manual cases, cron done)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714304 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 11:46:18 +00:00
Jacques Le Roux 6a71e0df30 A patch from Forrest Rae for "org.ofbiz.common.login.LoginServices.userLogin causes stack track when username or password is incorrect" https://issues.apache.org/jira/browse/OFBIZ-6721
org.ofbiz.common.login.LoginServices.userLogin is returning ERROR when a username or password is incorrect. It should return FAILURE instead of error. The error causes stack track to be printed to the log. The stack trace makes watching the log for actual errors difficult. This is especially hard when running and analyzing the log after a full test run, of in my case, a custom set of test cases.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714244 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 17:38:07 +00:00
Jacques Le Roux 0eab108bbb A patch from Pierre Smits for "Remove tenant data from the demo data set" https://issues.apache.org/jira/browse/OFBIZ-5757
The demo data set (in location /framework/entity/data/TenantDemoData.xml) contains elements to load the tenants DEMO1 and DEMO2 into the implemented OFBiz setup.

This data set is intended to be loaded into the master tables when a user wants to explore multity tenancy. However, when a user also wants/needs to load demo data into the tenant DEMO1 or DEMO2 OFBiz also tries to upload the demo setup data for each tenant. This is not allowed as tenants do not have access to tables:
# Tenant
# Tenantdatasource
# etc

jleroux: (based on a Pierre's comment)
With
    ./ant create-tenant
and
    ./ant load-tenant-data-readers

We provide enough tools to explore the opportunity to demonstrate the multi-tenancy aspects of OFBiz. 
Moreover OFBIZ-6720 will be used to rewrite the multi-tenant support page in wiki. We will then see if we should not remove old ant tenant related targets now useless


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714085 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 16:22:34 +00:00
Jacques Le Roux 79f4ce891e No functional change, "load-tenant-admin-user-login" is not a main target and should be only used being called by other targets. Then there should not be a description, it's confusing! See this comment and comments above https://issues.apache.org/jira/browse/OFBIZ-5757?focusedCommentId=14338165
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1714007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 10:30:33 +00:00
Jacques Le Roux 8ae051720e Non functional changes
Removes useless commented out code in UtilCodec.java
Replaces a tab by spaces in ContextFilter.java
Removes useless line and replaces tabs by spaces in OFBizSolrContextFilter.java (annoying in compare)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1713991 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 09:34:56 +00:00
Jacques Le Roux a0f6bcc5d0 No functional change, completes r1713985 ("Remove superfluous .properties extension from EntityUtilProperties requests" https://issues.apache.org/jira/browse/OFBIZ-6719) for groovy files (nothing left elsewhere)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1713989 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 09:32:13 +00:00