Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-183

ItemEditCrumbController in i18n Translation tool triggers notImplemented Exception on "showError"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0.3
    • Fix Version/s: 8.1
    • Component/s: Translation
    • Labels:
      None

      Description

      Additional Info

      in the constructor of TranslationToolI18nItemEditCrumbController, showError("edit.error.noitem"); is called if given parameter i18nItems is an empty list.
      this call to "showError()" leads to setError() in BaseChiefController where the AssertException is thrown

      Stacktrace

      RedScreen on 8.0
      2012-03-19 10:54:19,567 [TP-Processor16] ERROR AssertException - OLAT::ERROR % N15-E9 % org.olat.core.logging % frentix % % https:// auth/1%3A1%3A0%3A0%3A0/ % Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11 % *RedScreen* not implemented, need e.g. a SimplBaseController on top of this class here to implement this function ::::<dispatchinfo> <componentinfo> <compname>delegatingComponent</compname> <compclass>org.olat.core.gui.components.delegating.DelegatingComponent</compclass> <extendedinfo>n/a</extendedinfo> <event> <class>org.olat.core.gui.control.Event</class> <command>forwarded</command> <tostring>com:forwarded,org.olat.core.gui.control.Event@7d0a0243</tostring> </event> </componentinfo> <controllerinfo> <controllername>org.olat.core.util.i18n.ui.InlineTranslationInterceptHandlerController</controllername> <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername> </controllerinfo></dispatchinfo> :::: %
      >>> stack of 1.cause::org.olat.core.logging.AssertException: not implemented, need e.g. a SimplBaseController on top of this class here to implement this function -> at org.olat.core.commons.chiefcontrollers.BaseChiefController$1.setError(BaseChiefController.java:259) at org.olat.core.gui.control.LocalWindowControl.setError(LocalWindowControl.java:79) at org.olat.core.gui.control.LocalWindowControl.setError(LocalWindowControl.java:79) at org.olat.core.gui.control.controller.BasicController.showError(BasicController.java:508) at org.olat.core.util.i18n.ui.TranslationToolI18nItemEditCrumbController.<init>(TranslationToolI18nItemEditCrumbController.java:111) at org.olat.core.util.i18n.ui.InlineTranslationInterceptHandlerController.event(InlineTranslationInterceptHandlerController.java:219) at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:184) at org.olat.core.gui.components.Component$1.run(Component.java:229) at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) at org.olat.core.gui.components.Component.fireEvent(Component.java:226) at org.olat.core.gui.components.delegating.DelegatingComponent.doDispatchRequest(DelegatingComponent.java:65)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator -> at org.olat.core.logging.AssertException.<init>(AssertException.java:51) at org.olat.core.commons.chiefcontrollers.BaseChiefController$1.setError(BaseChiefController.java:259) at org.olat.core.gui.control.LocalWindowControl.setError(LocalWindowControl.java:79) at org.olat.core.gui.control.LocalWindowControl.setError(LocalWindowControl.java:79) at org.olat.core.gui.control.controller.BasicController.showError(BasicController.java:508) at org.olat.core.util.i18n.ui.TranslationToolI18nItemEditCrumbController.<init>(TranslationToolI18nItemEditCrumbController.java:111) at org.olat.core.util.i18n.ui.InlineTranslationInterceptHandlerController.event(InlineTranslationInterceptHandlerController.java:219) at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:184) at org.olat.core.gui.components.Component$1.run(Component.java:229) at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108) at org.olat.core.gui.components.Component.fireEvent(Component.java:226)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            strentini Sergio Trentini
            Tester:
            Matthai Kurian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h