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

RS if gender property is an empty space

    XMLWordPrintable

    Details

      Description

      I don't know how it is possible without changing the value directly on the database. But we have a case where it happens.

      2014-04-30 12:08:50,923 [ajp-bio-8028-exec-5] ERROR AssertException  - OLAT::ERROR ^%^ N8-E5 ^%^ org.olat.core.logging 
      https://testing.frentix.com/test8/auth/1%3A1%3A8000016268%3A2%3A0%3Acid%3Acmd.filter.2/?filter=%2Ftest8%2Fauth%2F1%253A1%253A8000016268%253A2%253A0%253Acid%253Acmd.filter.2%2F
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 ^%^
      **RedScreen** could not set <> to true because key was not found! ::_::
      <dispatchinfo>
      	<componentinfo>
      		<compname>table</compname>
      		<compclass>org.olat.core.gui.components.table.Table</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.table.TableEvent</class&gt;
      			<command>r</command>
      			<tostring>cmd:r, rowId:1, actionId:select.user</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.components.table.TableController</controllername>
      		<controllername>org.olat.admin.user.UsermanagerUserSearchController</controllername>
      		<controllername>org.olat.admin.UserAdminMainController</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.AssertException: could not set <> to true because key was not found!
      -> at org.olat.core.gui.components.form.flexible.impl.elements.SingleSelectionImpl.select(SingleSelectionImpl.java:186)
         at org.olat.user.propertyhandlers.GenderPropertyHandler.addFormItem(GenderPropertyHandler.java:124)
         at org.olat.user.ProfileFormController.initForm(ProfileFormController.java:201)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:215)
         at org.olat.user.ProfileFormController.<init>(ProfileFormController.java:103)
         at org.olat.user.ProfileAndHomePageEditController.<init>(ProfileAndHomePageEditController.java:131)
         at org.olat.admin.user.UserAdminController.initTabbedPane(UserAdminController.java:279)
         at org.olat.admin.user.UserAdminController.<init>(UserAdminController.java:143)
         at org.olat.admin.UserAdminMainController.event(UserAdminMainController.java:195)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:239)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      >>>stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.core.gui.components.form.flexible.impl.elements.SingleSelectionImpl.select(SingleSelectionImpl.java:186)
         at org.olat.user.propertyhandlers.GenderPropertyHandler.addFormItem(GenderPropertyHandler.java:124)
         at org.olat.user.ProfileFormController.initForm(ProfileFormController.java:201)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.initForm(FormBasicController.java:215)
         at org.olat.user.ProfileFormController.<init>(ProfileFormController.java:103)
         at org.olat.user.ProfileAndHomePageEditController.<init>(ProfileAndHomePageEditController.java:131)
         at org.olat.admin.user.UserAdminController.initTabbedPane(UserAdminController.java:279)
         at org.olat.admin.user.UserAdminController.<init>(UserAdminController.java:143)
         at org.olat.admin.UserAdminMainController.event(UserAdminMainController.java:195)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:239)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              kscherer Kirsten Scherer
              Tester:
              Florian Gnägi
            • 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