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

RS:import a portfolio template with form assignments

    XMLWordPrintable

    Details

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

      Description

      RS portfolio template import from test7 to test5 with assignment.

      This issue will only fix the red screen. It will prevent to import an assignment using a form / survey if it cannot load or find the survey. The survey are NOT exported with the template for the moment. If you want this to happen, open a new issue. It's a lot more work to do it.

      2019-10-31 11:56:13.237 [ajp-nio-8025-exec-3] WARN   ExceptionWindowController ^%^ I145-J408 ^%^ org.olat.core.gui.exception.ExceptionWindowController
      https://testing.frentix.com/test5/auth/RepositorySite/0/Favorits/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15 ^%^ ExceptionWindowController<init>: Throwable occurred, logging the full stacktrace: javax.persistence.PersistenceException: 
      org.hibernate.exception.ConstraintViolationException: could not execute statement
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:154) 
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181) 
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188) 
       at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:795)
       at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:773)
       at org.olat.modules.portfolio.manager.AssignmentDAO.createAssignment(AssignmentDAO.java:99)
       at org.olat.modules.portfolio.manager.PortfolioServiceImpl.internalCopyTransientBinder(PortfolioServiceImpl.java:260)
       at org.olat.modules.portfolio.manager.PortfolioServiceImpl.importBinder(PortfolioServiceImpl.java:244)
       at org.olat.modules.portfolio.handler.BinderTemplateHandler.importResource(BinderTemplateHandler.java:163)
       at org.olat.repository.ui.author.ImportRepositoryEntryController.doImport(ImportRepositoryEntryController.java:280)
       at org.olat.repository.ui.author.ImportRepositoryEntryController.formOK(ImportRepositoryEntryController.java:193)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:389)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:119)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:441)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:428)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:72)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:561)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:296)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:100)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1201)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:398)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            mmenzel Mandy Menzel
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: