You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/09/26 13:15:12 UTC

svn commit: r1809741 - in /ofbiz/ofbiz-framework/trunk/framework/webtools: config/WebtoolsUiLabels.xml widget/ServiceScreens.xml

Author: jleroux
Date: Tue Sep 26 13:15:12 2017
New Revision: 1809741

URL: http://svn.apache.org/viewvc?rev=1809741&view=rev
Log:
Fixed: Transaction Timeout in JavaEventHandler
(OFBIZ-9725)

When you run a service from webtools (not scheduling it) the the duration of the
 service is limited to the transaction default timeout (60 seconds)

Thanks: Jeffrey Breault for report

Modified:
    ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
    ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ServiceScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml?rev=1809741&r1=1809740&r2=1809741&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webtools/config/WebtoolsUiLabels.xml Tue Sep 26 13:15:12 2017
@@ -4741,6 +4741,10 @@
         <value xml:lang="zh">服务</value>
         <value xml:lang="zh-TW">服務</value>
     </property>
+    <property key="WebtoolsServiceLimitedTime">
+        <value xml:lang="en">Note: the duration of the service is limited to the transaction default timeout (60 seconds)</value>
+        <value xml:lang="fr">A noter : la durée du service est limitée à la valeur par défaut des transactions (60 secondes)</value>
+    </property>
     <property key="WebtoolsServiceClearPreviousParams">
         <value xml:lang="de">Vorige Parameter löschen</value>
         <value xml:lang="en">Clear previous params</value>

Modified: ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ServiceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ServiceScreens.xml?rev=1809741&r1=1809740&r2=1809741&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ServiceScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webtools/widget/ServiceScreens.xml Tue Sep 26 13:15:12 2017
@@ -152,6 +152,7 @@ under the License.
                 <decorator-screen name="CommonServiceDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
                         <screenlet>
+                            <label style="h3">${uiLabelMap.WebtoolsServiceLimitedTime}</label>
                             <include-form name="RunService" location="component://webtools/widget/ServiceForms.xml"/>
                         </screenlet>
                     </decorator-section>