Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-12605

KRAD property editors aren't loaded due to KNS spring configuration that overrides KRAD configuration

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-9212Rework KRAD Property Editors/Formatters
      KULRICE-8436KRAD dictionary beans cannot be overridden
      KULRICE-5352KNS DD doesn't support configuration of ReloadingDataDictionary
      KULRICE-5298Configure agenda editor's context and agenda lookups to do lookaheads
      KULRICE-12995Rice Spring Configuration issues
      KULRICE-199Implement <riceConfigurer> for KNS and improve KNS configuration
      KULRICE-12814Clean up datasource configuration
      KULRICE-11618Configure JPA entity manager factory and krad-data integration for KRMS
      KULRICE-6845Problems with UifBeanFactoryPostProcessor expression handling that is causing bean property overrides (such as fieldInquiry.render) to not work
      KULRICE-9496Convert Administration > Configuration Screens to KRAD
    • Rice Module:
      KRAD
    • Application Requirement:
      Rice
    • Sprint:
      2.5.0-m2 Sprint 3
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      2014-04-28 15:24:38,158 [http-apr-8080-exec-1] u:admin/d: INFO  org.kuali.rice.krad.uif.lifecycle.ViewLifecycleBuild - performing finalize phase for view: TravelAccount-LookupView-default
      2014-04-28 15:24:38,364 [http-apr-8080-exec-1] u:admin/d: ERROR freemarker.runtime - Error executing FreeMarker template
      FreeMarker template error:
      Can't convert the date to string, because it's not known which parts of the date variable are in use.
      
      Tip: Use ?time, ?date or ?datetime to tell FreeMarker which parts of the date is used.
      Tip: For programmers: Use java.sql.Date/Time/Timestamp instead of java.util.Date in the data-model to avoid this ambiguity.
      
      The failing instruction (FTL stack trace):
      ----------
      ==> ${(spring.status.value?default(""))?h...  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 55, column 33]
          #if field.escapeHtmlInPropertyValue  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 54, column 29]
          #else  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 49, column 25]
          #else  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 45, column 21]
          #if readOnly  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 40, column 13]
          #nested  [in template "krad/WEB-INF/ftl/lib/div.ftl" in macro "div" at line 25, column 5]
          @krad.div component=field  [in template "krad/WEB-INF/ftl/components/field/dataInputField.ftl" in macro "uif_dataInputField" at line 22, column 5]
          #inline "template"  [in template "krad/WEB-INF/ftl/lib/template.ftl" in macro "template" at line 19, column 9]
          @template component=item  [in template "krad/WEB-INF/ftl/lib/grid.ftl" in macro "grid" at line 144, column 69]
          #else  [in template "krad/WEB-INF/ftl/lib/grid.ftl" in macro "grid" at line 142, column 13]
          #if (index == 1)  [in template "krad/WEB-INF/ftl/lib/grid.ftl" in macro "grid" at line 121, column 9]
          @krad.grid items=manager.allRowFields...  [in template "krad/WEB-INF/ftl/layout/table.ftl" in macro "uif_table" at line 98, column 21]
          #else  [in template "krad/WEB-INF/ftl/layout/table.ftl" in macro "uif_table" at line 96, column 13]
          #inline "collectionGroup"  [in template "krad/WEB-INF/ftl/components/group/collectionGroup.ftl" in macro "uif_collectionGroup" at line 20, column 13]
          #nested  [in template "krad/WEB-INF/ftl/lib/wrap.ftl" in macro "wrap" at line 21, column 5]
          @krad.wrap component=group renderAs="...  [in template "krad/WEB-INF/ftl/components/group/collectionGroup.ftl" in macro "uif_collectionGroup" at line 19, column 5]
          #inline "template"  [in template "krad/WEB-INF/ftl/lib/template.ftl" in macro "template" at line 19, column 9]
          @krad.template component=item  [in template "krad/WEB-INF/ftl/layout/box.ftl" in macro "uif_box" at line 43, column 9]
          dynamic-directive-call templateName  [in template "krad/WEB-INF/ftl/components/group/pageGroup.ftl" in macro "uif_pageGroup" at line 46, column 13]
          #nested  [in template "krad/WEB-INF/ftl/lib/groupWrap.ftl" in macro "groupWrap" at line 24, column 13]
          #nested  [in template "krad/WEB-INF/ftl/lib/wrap.ftl" in macro "wrap" at line 21, column 5]
          @krad.wrap component=group renderAs="...  [in template "krad/WEB-INF/ftl/lib/groupWrap.ftl" in macro "groupWrap" at line 20, column 5]
          @krad.groupWrap group=group  [in template "krad/WEB-INF/ftl/components/group/pageGroup.ftl" in macro "uif_pageGroup" at line 38, column 5]
          #inline "template"  [in template "krad/WEB-INF/ftl/lib/template.ftl" in macro "template" at line 19, column 9]
          @krad.template componentUpdate=true c...  [in template "krad/WEB-INF/ftl/updatePage.ftl" at line 28, column 9]
          #include "updatePage.ftl"  [in template "krad/WEB-INF/ftl/uifRender.ftl" at line 56, column 17]
          #elseif KualiForm.ajaxReturnType == "...  [in template "krad/WEB-INF/ftl/uifRender.ftl" at line 54, column 9]
          #elseif KualiForm.ajaxRequest  [in template "krad/WEB-INF/ftl/uifRender.ftl" at line 42, column 5]
      ----------
      
      Java stack trace (for programmers):
      ----------
      freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...]
      	at freemarker.core.Environment.formatDate(Environment.java:918)
      	at freemarker.core.EvalUtil.coerceModelToString(EvalUtil.java:374)
      	at freemarker.core.Expression.evalAndCoerceToString(Expression.java:115)
      	at freemarker.core.StringBuiltins$StringBuiltIn._eval(StringBuiltins.java:87)
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Claus Niesen
              Reporter:
              Claus Niesen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Structure Helper Panel