{"push_id":880086821,"size":6,"distinct_size":6,"ref":"refs/heads/trunk","head":"98277399366dc11478bbe3b283a1fd93d89fb3a2","before":"ca269dc7b2fe42dc5d633ad12c7356cfccf5de93","commits":[{"sha":"a9f2cb36e3ccc5d1164e6d2fb873078b59ef70ce","author":{"email":"468feb6fa71f8dd2720b54338a277cfe5de997c8@apache.org","name":"Nicolas Malin"},"message":" convert entities crud service from simple to entity-auto for :\n* DataResourceAttribute\n* ContentRole (not for create will set on second step)\n* ContentMetaData\n* ContentOperation\n* ContentPurpose\n* ContentPurposeOperation\n* ContentAttribute\n* ContentKeyword\n* ContentType\n* ContentAssocType\n* ContentAssocPredicate\n* ContentPurposeType\nI also move some service definition from file services.xml to services_content.xml for all entities that concern content\nrelate issue OFBIZ-6745\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1715960 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/a9f2cb36e3ccc5d1164e6d2fb873078b59ef70ce"},{"sha":"7b7acb3a906f47f101e6c39ff57b8269b7fe1847","author":{"email":"811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","name":"Jacques Le Roux"},"message":"Reverts r1715506, I crossed many issues, reported on dev ML and OFBIZ-6655\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716036 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/7b7acb3a906f47f101e6c39ff57b8269b7fe1847"},{"sha":"9624c28a8b4e8891516434e0f0bf0f41d82f1f53","author":{"email":"811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","name":"Jacques Le Roux"},"message":"Implements \"Can not display product category name in Unicode.\" https://issues.apache.org/jira/browse/OFBIZ-6739\n\nRerported by Thanakrit Wongyued\nI 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.\n\njleroux: uses a new defaultMimeType content property, defaulting to \"text/html; charset=utf-8\", retrieved by EntityUtilProperties.getPropertyValue()\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716261 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/9624c28a8b4e8891516434e0f0bf0f41d82f1f53"},{"sha":"17c4f397bd959094ebe54be63d0bcc5721c6c380","author":{"email":"468feb6fa71f8dd2720b54338a277cfe5de997c8@apache.org","name":"Nicolas Malin"},"message":" convert entities crud service from simple to entity-auto for :\n* WebSiteRole\n* WebSitePathAlias\n* WebSiteContentType\n* WebSiteContent\n* WebSite\n* DataResourcePurpose\n* DataResourceMetaData\n* OtherDataResource\n* AudioDataResource\n* VideoDataResource\n* ImageDataResource\n* DataResource (update/delete)\n* ContentApproval\n* ContentRevisionItem\n* ContentRevision\nI also move some service definition from file services.xml to services_content.xml for ContentApproval, ContentRevisionItem and ContentRevision\nrelate issue OFBIZ-6745\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716271 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/17c4f397bd959094ebe54be63d0bcc5721c6c380"},{"sha":"9149b9a79790649a3636883dd342179451382fd5","author":{"email":"811c1987b169139c3599e569bb8f018ce8f2d742@apache.org","name":"Jacques Le Roux"},"message":"A patch from Anne Jessel for \"Entity ECAs not triggered correctly when using Delegator.storeAll() method\" https://issues.apache.org/jira/browse/OFBIZ-3847\n\nAs reported by  Martin Kreidenweis \nThe conditions don't work when updating (not creating) entities using the Delegator.storeAll() method. E.g. the following condition does not work:\n<eca entity=\"Product\" operation=\"create-store\" event=\"return\">\n        <condition field-name=\"autoCreateKeywords\" operator=\"not-equals\" value=\"N\"/>\n        <action service=\"indexProductKeywords\" mode=\"sync\" value-attr=\"productInstance\"/>\n</eca>\nThe 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. \nThe 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. \n\nScott'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.\n\n\nAnne: 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.\n\njleroux: 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\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716319 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/9149b9a79790649a3636883dd342179451382fd5"},{"sha":"98277399366dc11478bbe3b283a1fd93d89fb3a2","author":{"email":"468feb6fa71f8dd2720b54338a277cfe5de997c8@apache.org","name":"Nicolas Malin"},"message":"convert createContentRole from simple to entity-auto. It's already linked to ensurePartyRole service, relate issue OFBIZ-6745\n\ngit-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1716542 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/gagaboy/ofbiz/commits/98277399366dc11478bbe3b283a1fd93d89fb3a2"}]}