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

RS if copy a batch of courses with very long titles

    XMLWordPrintable

    Details

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

      Description

      How to reproduce: batch copy a course with a title which is 99 characters long

      2016-04-06 14:02:39,940 [ajp-nio2-8021-exec-50] ERROR AssertException - OLAT::ERROR ^%^ N1-E53
      https://lms.xyz.de/auth/RepositorySite/0/My/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 
      **RedScreen** DisplayName is limited to 100 characters.
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>link_0</command>
      			<tostring>com:link_0,org.olat.core.gui.control.Event@be46a54a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.AssertException: DisplayName is limited to 100 characters.
      -> at org.olat.repository.RepositoryEntry.setDisplayname(RepositoryEntry.java:490)
         at org.olat.repository.manager.RepositoryServiceImpl.create(RepositoryServiceImpl.java:169)
         at org.olat.repository.manager.RepositoryServiceImpl.create(RepositoryServiceImpl.java:147)
         at org.olat.repository.manager.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:216)
         at org.olat.repository.ui.author.AuthorListController.doCompleteCopy(AuthorListController.java:747)
         at org.olat.repository.ui.author.AuthorListController.event(AuthorListController.java:462)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.core.gui.control.generic.modal.DialogBoxController.event(DialogBoxController.java:205)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.repository.RepositoryEntry.setDisplayname(RepositoryEntry.java:490)
         at org.olat.repository.manager.RepositoryServiceImpl.create(RepositoryServiceImpl.java:169)
         at org.olat.repository.manager.RepositoryServiceImpl.create(RepositoryServiceImpl.java:147)
         at org.olat.repository.manager.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:216)
         at org.olat.repository.ui.author.AuthorListController.doCompleteCopy(AuthorListController.java:747)
         at org.olat.repository.ui.author.AuthorListController.event(AuthorListController.java:462)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Kirsten Scherer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m