svn commit: r1160121 - /ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1160121 - /ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml

hansbak-2
Author: hansbak
Date: Mon Aug 22 06:36:16 2011
New Revision: 1160121

URL: http://svn.apache.org/viewvc?rev=1160121&view=rev
Log:
fix error in scrum junit tests

Modified:
    ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml

Modified: ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml?rev=1160121&r1=1160120&r2=1160121&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml (original)
+++ ofbiz/trunk/specialpurpose/scrum/script/org/ofbiz/scrum/ScrumEvents.xml Mon Aug 22 06:36:16 2011
@@ -4402,9 +4402,11 @@
     </simple-method>
     <simple-method method-name="getWebSiteId" short-description="Get WebSite Id">
         <!-- for notification -->
-        <call-class-method method-name="getWebSiteId" class-name="org.ofbiz.webapp.website.WebSiteWorker" ret-field="webSiteId">
-            <field field="request" type="javax.servlet.ServletRequest"/>
-        </call-class-method>
+        <if-not-empty field="request">
+            <call-class-method method-name="getWebSiteId" class-name="org.ofbiz.webapp.website.WebSiteWorker" ret-field="webSiteId">
+                <field field="request" type="javax.servlet.ServletRequest"/>
+            </call-class-method>
+        </if-not-empty>
         <if-not-empty field="webSiteId">
             <set field="parameters.webSiteId" from-field="webSiteId"/>
         </if-not-empty>