Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-815

Cannot load expert items - ExpertItemProducer

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None

      Description

      2009-09-03 13:19:13,562 WARN (RenderHandlerBracketer.java:107) - <Exception rendering view: >
      java.lang.IllegalArgumentException: Cannot add leaf component with ID administrate-link of class uk.org.ponder.rsf.components.UIInternalLink as a chil
      d of component with ID viewroot of class uk.org.ponder.rsf.view.ViewRoot since it would displace an existing child of the same name.
      Please remove the existing component first.
      at uk.org.ponder.rsf.components.UIContainer.addComponent(UIContainer.java:142)
      at uk.org.ponder.rsf.components.UIInternalLink.make(UIInternalLink.java:40)
      at org.sakaiproject.evaluation.tool.producers.ExpertItemsProducer.fillComponents(ExpertItemsProducer.java:135)
      at uk.org.ponder.rsf.view.support.ViewCollector.fillComponents(ViewCollector.java:56)
      at uk.org.ponder.rsf.view.support.LayoutCollector.fillComponents(LayoutCollector.java:68)
      at sun.reflect.GeneratedMethodAccessor436.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
      at $Proxy26.fillComponents(Unknown Source)

      Caused from duplicate code when adding switch to turn on/off headings.

      if (userAdmin)

      { UIInternalLink.make(tofill, "administrate-link", UIMessage.make("administrate.page.title"), new SimpleViewParameters(AdministrateProducer.VIEW_ID)); }

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  norhal Norhal El Halwagy (Inactive)
                  Reporter:
                  rmoyer@umd.edu Rick Moyer (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration