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

More the 50 questions as favorit

    XMLWordPrintable

    Details

      Description

      If you have more than 50 questions in your favorit, you get a red screen.

      2013-11-06 13:25:36,392 [ajp-8021-19] ERROR OLATRuntimeException  - OLAT::ERROR ^%^ N1-E47 ^%^ org.olat.core.logging
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 ^%^
      **RedScreen** org.hibernate.QueryException: could not resolve property: markCreatorKey of: org.olat.modules.qpool.model.QuestionItemImpl [select count(item) from org.olat.modules.qpool.model.QuestionItemImpl item where item.markCreatorKey=:identityKey )] ::_::
      <dispatchinfo>
      	<componentinfo>
      		<compname>qpoolTree</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:88546181573137}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.modules.qpool.ui.QuestionPoolMainEditorController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>>stack of 1.cause::org.olat.core.logging.OLATRuntimeException: org.hibernate.QueryException: could not resolve property: markCreatorKey of: org.olat.modules.qpool.model.QuestionItemImpl [select count(item) from org.olat.modules.qpool.model.QuestionItemImpl item where item.markCreatorKey=:identityKey )]
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:107)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:508)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:227)
         at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
         at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
         at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      >>>stack of 2.cause::java.lang.IllegalArgumentException: org.hibernate.QueryException: could not resolve property: markCreatorKey of: org.olat.modules.qpool.model.QuestionItemImpl [select count(item) from org.olat.modules.qpool.model.QuestionItemImpl item where item.markCreatorKey=:identityKey )]
      -> at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1374)
         at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310)
         at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:309)
         at org.olat.modules.qpool.manager.QuestionItemDAO.countFavoritItems(QuestionItemDAO.java:346)
         at org.olat.modules.qpool.manager.QuestionPoolServiceImpl.countItems(QuestionPoolServiceImpl.java:380)
         at org.olat.modules.qpool.ui.datasource.DefaultItemsSource.getNumOfItems(DefaultItemsSource.java:103)
         at org.olat.modules.qpool.ui.AbstractItemListController.getRowCount(AbstractItemListController.java:325)
         at org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFlexiTableDataSourceModel.loadDatas(DefaultFlexiTableDataSourceModel.java:208)
         at org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFlexiTableDataSourceModel.load(DefaultFlexiTableDataSourceModel.java:170)
         at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.<init>(FlexiTableElementImpl.java:149)
         at org.olat.core.gui.components.form.flexible.FormUIFactory.addTableElement(FormUIFactory.java:922)
      >>>stack of 3.cause::org.hibernate.QueryException: could not resolve property: markCreatorKey of: org.olat.modules.qpool.model.QuestionItemImpl [select count(item) from org.olat.modules.qpool.model.QuestionItemImpl item where item.markCreatorKey=:identityKey )]
      -> at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:83)
         at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:77)
         at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1968)
         at org.hibernate.hql.internal.ast.tree.FromElementType.getPropertyType(FromElementType.java:313)
         at org.hibernate.hql.internal.ast.tree.FromElement.getPropertyType(FromElement.java:490)
         at org.hibernate.hql.internal.ast.tree.DotNode.getDataType(DotNode.java:616)
         at org.hibernate.hql.internal.ast.tree.DotNode.prepareLhs(DotNode.java:267)
         at org.hibernate.hql.internal.ast.tree.DotNode.resolve(DotNode.java:214)
         at org.hibernate.hql.internal.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:119)
         at org.hibernate.hql.internal.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:115)
         at org.hibernate.hql.internal.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:881)
      
      
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 30 minutes
                30m