ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jler...@apache.org
Subject svn commit: r1806036 - in /ofbiz/ofbiz-framework/trunk/applications/content/widget: content/DataResourceForms.xml datasetup/DataSetupForms.xml
Date Thu, 24 Aug 2017 12:57:40 GMT
Author: jleroux
Date: Thu Aug 24 12:57:40 2017
New Revision: 1806036

URL: http://svn.apache.org/viewvc?rev=1806036&view=rev
Log:
Fixed: MimeType displayed in HTML encoded pattern
(OFBIZ-9621)

Steps to Regenerate –
1) Go to Content/DataResourceSetup and select File Ext tab.
2) Create or Update File ext with Mime Types available in the drop-down.
Result: File Ext created or updated with selected Mime Type but Mime Type 
displayed in HTML Encoded pattern. 

This issue also exists on Create DataResource page.

jleroux: checking with trunk demo I did not find it on "Create DataResource page" 
(content/control/EditDataResource) nor in the Search options) of 
"Find Data Resource" (content/control/findDataResource) 
But in the list of this find page and also in Navigate for template 
(content/control/navigateDataResource)
Anyway the patch fixed all the cases I found. 

I think there are more cases like that but I can't remember where.

Thanks: Ankit Joshi

Modified:
    ofbiz/ofbiz-framework/trunk/applications/content/widget/content/DataResourceForms.xml
    ofbiz/ofbiz-framework/trunk/applications/content/widget/datasetup/DataSetupForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/content/DataResourceForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/content/DataResourceForms.xml?rev=1806036&r1=1806035&r2=1806036&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/content/DataResourceForms.xml
(original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/content/DataResourceForms.xml
Thu Aug 24 12:57:40 2017
@@ -33,7 +33,7 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
-        <field name="mimeTypeId" position="2">
+        <field name="mimeTypeId" position="2" encode-output="false">
             <drop-down allow-empty="true">
                 <entity-options description="${mimeTypeId} - ${description}" entity-name="MimeType"
key-field-name="mimeTypeId">
                     <entity-order-by field-name="mimeTypeId"/>
@@ -89,7 +89,7 @@ under the License.
             </display-entity>
         </field>
         <field name="dataResourceTypeId" sort-field="true"><display-entity entity-name="DataResourceType"></display-entity></field>
-        <field name="mimeTypeId" sort-field="true"><display-entity entity-name="MimeType"></display-entity></field>
+        <field name="mimeTypeId" encode-output="false" sort-field="true"><display-entity
entity-name="MimeType"></display-entity></field>
         <field name="statusId" sort-field="true"><display-entity entity-name="StatusItem"></display-entity></field>
         <field name="localeString" sort-field="true"><display-entity entity-name="CountryCode"
description="${countryName}[${countryCode}]" key-field-name="countryCode"></display-entity></field>
         <field name="createdByUserLogin" sort-field="true"><display-entity also-hidden="false"
entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName}
${lastName}"/></field>

Modified: ofbiz/ofbiz-framework/trunk/applications/content/widget/datasetup/DataSetupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/widget/datasetup/DataSetupForms.xml?rev=1806036&r1=1806035&r2=1806036&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/widget/datasetup/DataSetupForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/widget/datasetup/DataSetupForms.xml Thu
Aug 24 12:57:40 2017
@@ -150,7 +150,7 @@ under the License.
     <form name="AddFileExtension" target="addFileExtension" title="" type="single"
         header-row-style="header-row" default-table-style="basic-table">
         <auto-fields-service service-name="createFileExtension"/>
-        <field name="mimeTypeId" title=" ">
+        <field name="mimeTypeId" title=" " encode-output="false">
             <drop-down allow-empty="false">
                 <entity-options
                     entity-name="MimeType" key-field-name="mimeTypeId"/>
@@ -169,7 +169,7 @@ under the License.
         <field name="fileExtensionId">
             <display/>
         </field>
-        <field name="mimeTypeId" title=" ">
+        <field name="mimeTypeId" title=" " encode-output="false">
             <drop-down allow-empty="false">
                 <entity-options entity-name="MimeType" key-field-name="mimeTypeId"/>
             </drop-down>



Mime
View raw message