Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-7593

Problem adding content elements to collection items.

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3.0-m1, 2.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-1900Problems deleting collection items in maintenance documents
      KULRICE-7468Collections UI - autosorting should not be on by default (in adding to collections/sub-collections)
      KULRICE-9044KRAD "stacked" collection elements are not rendering add/delete buttons
      KULRICE-5426Heading level problems
      KULRICE-12035Wrong item highlighted after add on Collection Add Via Lightbox in Component Library
      KULRICE-13296Highlight duplicate property when adding duplicate item to maintenance collection
      KULRICE-7985Problems with tables within divs and filling past the div container
      KULRICE-9407Implement fast light-weight Table Collection for read only and simple content
      KULRICE-6333Adding to a sub-collection results in a new empty line on the last sub-collection off the primary collection
      KULRICE-11449in TermSpecification maintenance doc, items added to the Context collection should not be editable
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      Document
    • Application Requirement:
      Mobility
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      When adding content element to collection items I get the following error...

      2012-05-18 10:59:12,549 [qtp1187526605-41 - /kch-dev/kr-krad/test?methodToCall=start&viewId=ContributionView] ERROR admin org.kuali.rice.krad.web.bind.UifHandlerExceptionResolver :: org.kuali.rice.krad.uif.element.Message cannot be cast to org.kuali.rice.krad.uif.field.Field
      java.lang.ClassCastException: org.kuali.rice.krad.uif.element.Message cannot be cast to org.kuali.rice.krad.uif.field.Field
             at org.kuali.rice.krad.uif.container.CollectionGroupBuilder.processAnyRemoteFieldsHolder(CollectionGroupBuilder.java:368)
             at org.kuali.rice.krad.uif.container.CollectionGroupBuilder.buildLine(CollectionGroupBuilder.java:240)
             at org.kuali.rice.krad.uif.container.CollectionGroupBuilder.build(CollectionGroupBuilder.java:116)
             at org.kuali.rice.krad.uif.container.CollectionGroup.performApplyModel(CollectionGroup.java:228)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:705)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:717)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:717)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:717)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:717)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performComponentApplyModel(ViewHelperServiceImpl.java:717)
             at org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl.performApplyModel(ViewHelperServiceImpl.java:577)
             at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.performViewLifecycle(ViewServiceImpl.java:162)
             at org.kuali.rice.krad.uif.service.impl.ViewServiceImpl.buildView(ViewServiceImpl.java:121)
             at org.kuali.rice.krad.uif.util.UifWebUtils.prepareViewForRendering(UifWebUtils.java:177)
             at org.kuali.rice.krad.uif.util.UifWebUtils.postControllerHandle(UifWebUtils.java:85)
             at org.kuali.rice.krad.web.controller.UifControllerHandlerInterceptor.postHandle(UifControllerHandlerInterceptor.java:82)
             at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:911)
             at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
             at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
             at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
             at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
             at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355)
             at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89)
             at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77)
             at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
             at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271)
             at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96)
             at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55)
             at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264)
             at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162)
             at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
             at edu.kuali.mobility.clearinghouse.web.WhitespaceFilter.doFilter(WhitespaceFilter.java:34)
             at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
             at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
             at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
             at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
             at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
             at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
             at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
             at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
             at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
             at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
             at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
             at org.eclipse.jetty.server.Server.handle(Server.java:345)
             at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
             at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921)
             at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784)
             at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223)
             at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
             at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
             at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
             at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
             at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
             at java.lang.Thread.run(Unknown Source)
      

        Activity

        Hide
        Brian Smith (Inactive) added a comment -

        Only fields can be used in TableCollections because you need to provide a label. Either use FieldGroup to put any items you want in or use *Field (ie, MessageField) of the content element you want to use (this is the preferred method).

        Show
        Brian Smith (Inactive) added a comment - Only fields can be used in TableCollections because you need to provide a label. Either use FieldGroup to put any items you want in or use *Field (ie, MessageField) of the content element you want to use (this is the preferred method).

          People

          • Assignee:
            Unassigned
            Reporter:
            David Dyer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel