svn commit: r1819599 - in /ofbiz/ofbiz-framework/branches/release17.12: ./ themes/common/widget/Theme.xml

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

svn commit: r1819599 - in /ofbiz/ofbiz-framework/branches/release17.12: ./ themes/common/widget/Theme.xml

jleroux@apache.org
Author: jleroux
Date: Sat Dec 30 13:58:36 2017
New Revision: 1819599

URL: http://svn.apache.org/viewvc?rev=1819599&view=rev
Log:
"Applied fix from trunk for revision: 1819598  "
------------------------------------------------------------------------
r1819598 | jleroux | 2017-12-30 14:51:20 +0100 (sam., 30 déc. 2017) | 12 lines

Fixed: Encoding issue while exporting CSV
(OFBIZ-10109)

While migrating widget.properties values in ThemeData.xml, "xml" encoder is
added for template "screencsv" which was not persent in the properties file.
By this, special character are not supported in CSV file.

Steps to generate: accounting/control/TrialBalance?organizationPartyId=Company
Click on Inventory Valuation report.
Export report as CSV.

Thanks: Aman Agrawal
------------------------------------------------------------------------


Modified:
    ofbiz/ofbiz-framework/branches/release17.12/   (props changed)
    ofbiz/ofbiz-framework/branches/release17.12/themes/common/widget/Theme.xml

Propchange: ofbiz/ofbiz-framework/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Dec 30 13:58:36 2017
@@ -10,3 +10,4 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
+/ofbiz/ofbiz-framework/trunk:1819598

Modified: ofbiz/ofbiz-framework/branches/release17.12/themes/common/widget/Theme.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release17.12/themes/common/widget/Theme.xml?rev=1819599&r1=1819598&r2=1819599&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release17.12/themes/common/widget/Theme.xml (original)
+++ ofbiz/ofbiz-framework/branches/release17.12/themes/common/widget/Theme.xml Sat Dec 30 13:58:36 2017
@@ -113,7 +113,7 @@ under the License.
             <template-file widget="form" location="component://common-theme/template/macro/TextFormMacroLibrary.ftl"/>
             <template-file widget="tree" location="component://common-theme/template/macro/TextTreeMacroLibrary.ftl"/>
         </template>
-        <template name="screencsv" type="csv" content-type="UTF-8" encoding="none" encoder="xml">
+        <template name="screencsv" type="csv" content-type="UTF-8" encoding="none">
             <template-file widget="screen" location="component://common-theme/template/macro/CsvScreenMacroLibrary.ftl"/>
             <template-file widget="form" location="component://common-theme/template/macro/CsvFormMacroLibrary.ftl"/>
             <template-file widget="tree" location="component://common-theme/template/macro/CsvTreeMacroLibrary.ftl"/>