[ofbiz-framework] branch trunk updated: Fixed: "entity/list" request is not handled well

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

[ofbiz-framework] branch trunk updated: Fixed: "entity/list" request is not handled well

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ed410df  Fixed: "entity/list" request is not handled well
ed410df is described below

commit ed410dfd6899b979257c0c3774cc8dfa224a212b
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Apr 12 13:59:25 2020 +0200

    Fixed: "entity/list" request is not handled well
   
    (OFBIZ-11593)
   
    The FilterEntities widget form is also an issue because it's a POST form and
    "entity/list" request use the GET method. Using "entitymaint" as target works
    (POST by default)
---
 framework/webtools/widget/EntityForms.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/webtools/widget/EntityForms.xml b/framework/webtools/widget/EntityForms.xml
index 9c37ee3..c358d2b 100644
--- a/framework/webtools/widget/EntityForms.xml
+++ b/framework/webtools/widget/EntityForms.xml
@@ -18,7 +18,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
 
     <form name="EntityEoModelBundle" type="single" target="exportEntityEoModelBundle" title="">
@@ -43,7 +43,7 @@ under the License.
         <field name="callsPerSecond" title="${uiLabelMap.WebtoolsPerformanceCallsSecond}"><display/></field>
     </form>
     
-    <form name="FilterEntities" default-table-style="condensed-table">
+    <form name="FilterEntities" default-table-style="condensed-table" target="entitymaint">
         <field name="filterByGroupName">
             <drop-down>
                 <list-options key-name="value" list-name="entityGroups" description="${name}"/>