Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: KSAP-FR1-M0
    • Fix Version/s: KSAP-FR1-M0
    • Component/s: IU Local KSAP Team
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None

      Description

      See also RICECNTRB-9

      The following settings were added to KSAP-0.7 on IU JIRA SCT-6221 to enforce the use of UTF-8 in My Plan.

      Index: ks-ap/ks-ap-web/src/main/webapp/ks-myplan/scripts/myplan.widgets.js
      ===================================================================
      --- ks-ap/ks-ap-web/src/main/webapp/ks-myplan/scripts/myplan.widgets.js (revision 1343)
      +++ ks-ap/ks-ap-web/src/main/webapp/ks-myplan/scripts/myplan.widgets.js (revision 1344)
      @@ -154,7 +154,11 @@
           var successCallback = function (htmlContent) {
               var component;
               if (jQuery("#requestStatus", htmlContent).length <= 0) {
      -            var popupForm = jQuery('<form />').attr("id", "popupForm").attr("action", formAction).attr("method", "post");
      +            var popupForm = jQuery('<form />')
      +                       .attr("id", "popupForm")
      +                       .attr("action", formAction)
      +                       .attr("accept-charset", "UTF-8")
      +                       .attr("method", "post");
                   component = jQuery("#" + getId, htmlContent).wrap(popupForm).parent();
               } else {
                   var pageId = jQuery("#pageId").val();
      Index: ks-ap/ks-ap-deployments/ks-ap-standalone/src/main/webapp/WEB-INF/myplan-servlet.xml
      ===================================================================
      --- ks-ap/ks-ap-deployments/ks-ap-standalone/src/main/webapp/WEB-INF/myplan-servlet.xml (revision 1343)
      +++ ks-ap/ks-ap-deployments/ks-ap-standalone/src/main/webapp/WEB-INF/myplan-servlet.xml (revision 1344)
      @@ -45,14 +45,12 @@
           <bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
               <property name="preferFileSystemAccess" value="false"/>
               <property name="templateLoaderPath" value="/"/>
      +        <property name="defaultEncoding" value="UTF-8"/>
               <property name="freemarkerSettings">
                   <props>
      -                <prop key="template_update_delay">0</prop>
      -                <prop key="cache_storage">freemarker.cache.NullCacheStorage</prop>
      -        <!-- 
                       <prop key="template_update_delay">1000000</prop>
                       <prop key="cache_storage">freemarker.cache.StrongCacheStorage</prop>
      -         -->
      +                <prop key="url_escaping_charset">UTF-8</prop>
                   </props>
               </property>
           </bean>
      @@ -62,6 +60,7 @@
               <property name="cache" value="true"/>
               <property name="prefix" value=""/>
               <property name="suffix" value=".ftl"/>
      +        <property name="contentType" value="text/html;charset=UTF-8"/>
           </bean>
       
           <!-- Setup of Mapping handler for annotations -->
      
      

        Issue Links

          Activity

          Hide
          Mark Fyffe (Inactive) added a comment -

          Completed in 0.7

          Show
          Mark Fyffe (Inactive) added a comment - Completed in 0.7

            People

            • Assignee:
              Mark Fyffe (Inactive)
              Reporter:
              Mark Fyffe (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel