Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-9426

Documents can not be edited when logged in as a German & results in big stacktrace in console

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.28.03
    • CMS-10.0-GA, 2.28.03
    • None
    • Tiger Sprint 107

    Description

      Steps to reproduce:->
      1.Select German language & login to cms
      2.Go to content perspective & try to edit a document.
      3.big strackstarce logged in console.
      4.Logout of cms & try to login again with German language.
      5.HTTP 500 error shown

      [INFO] [talledLocalContainer] 03.07 13:04:09 ERROR [DefaultExceptionMapper.java:170] Unexpected error occurred
      [INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Exception in rendering component: [YuiDateTimeField [Component id = widget]]
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2560)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcin
      gStrategy.java:76)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java
      :112)
      

      ------------------------------------
      stacktrace while trying to login again

      [INFO] [talledLocalContainer] Caused by: java.lang.IllegalArgumentException: Illegal pattern component: T
      [INFO] [talledLocalContainer]   at org.joda.time.format.DateTimeFormat.parsePatternTo(DateTimeFormat.java:559)
      [INFO] [talledLocalContainer]   at org.joda.time.format.DateTimeFormat.createFormatterForPattern(DateTimeFormat.java:682)
      [INFO] [talledLocalContainer]   at org.joda.time.format.DateTimeFormat.forPattern(DateTimeFormat.java:170)
      [INFO] [talledLocalContainer]   at org.hippoecm.frontend.plugins.yui.datetime.YuiDateTimeField$4.getFormat(YuiDateTimeField.java:205)
      [INFO] [talledLocalContainer]   at org.apache.wicket.datetime.DateConverter.convertToString(DateConverter.java:148)
      [INFO] [talledLocalContainer]   at org.apache.wicket.datetime.DateConverter.convertToString(DateConverter.java:43)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1668)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1640)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.form.FormComponent.getModelValue(FormComponent.java:1291)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:878)
      [INFO] [talledLocalContainer]   at org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:108)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRenderComponent(Component.java:2507)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1496)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.internalRender(Component.java:2366)
      [INFO] [talledLocalContainer]   at org.apache.wicket.Component.render(Component.java:2294)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1392)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1557)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1532)
      [INFO] [talledLocalContainer]   at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:689)
      

      Attachments

        Activity

          People

            pgupta Pankaj Gupta (Inactive)
            pgupta Pankaj Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: