Author: jonesde
Date: Sat Feb 17 23:29:10 2007
New Revision: 508885
URL:
http://svn.apache.org/viewvc?view=rev&rev=508885Log:
Fixed bug reported by Si, probably happening for categories that were not associated with a catalog and caused by recent new security code; Jira #OFBIZ-731
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml?view=diff&rev=508885&r1=508884&r2=508885==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml Sat Feb 17 23:29:10 2007
@@ -782,6 +782,7 @@
</if-compare>
<!-- if the generic permission test passed, carry on -->
+ <set field="hasPermission" type="Boolean" value="true"/>
<!-- Set up for a call to checkCategoryRelatedPermission below, but callingMethodName is needed sooner -->
<set field="callingMethodName" from-field="parameters.resourceDescription" default-value="this operation"/>