ICEfaces
  1. ICEfaces
  2. ICE-10575

ace:fileEntry - multiple=true throws MissingResourceException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      When using the ace:fileEntry with multiple=true, the following error is thrown when displaying the page:

      java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key org.icefaces.ace.component.fileEntry.ADD_FILES
      at java.util.ResourceBundle.getObject(ResourceBundle.java:395)
      at java.util.ResourceBundle.getString(ResourceBundle.java:355)
      at org.icefaces.ace.component.fileentry.FileEntryRenderer.encodeBegin(FileEntryRenderer.java:131)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822)
      at org.icefaces.ace.renderkit.CoreRenderer.renderChild(CoreRenderer.java:79)
      at org.icefaces.ace.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:70)
      at org.icefaces.ace.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:257)
      at org.icefaces.ace.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:137)
      at org.icefaces.ace.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:75)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826)
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:447)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655)
      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows this issue.

        Load welcomeICEfaces.jsf to show the error.

        Show
        Arran Mccullough added a comment - Attached test case that shows this issue. Load welcomeICEfaces.jsf to show the error.
        Hide
        Ken Fyten added a comment -

        Unfortunately, the "multiple" attribute and upload mode is not supported on EE 3.3. It's inclusion in the TLD was in error. As noted in the Known Issues section of the ace:fileEntry Wiki topic:

        The user interface for selecting multiple files to all upload at once is not complete, so only single file uploading per fileEntry component is enabled for now. To upload multiple files in a single upload operation, simply use multiple fileEntry components in the same form.

        Note that ICEfaces 4 / EE4 does support true multiple file selection and upload via a single ace:fileEntry component.

        Show
        Ken Fyten added a comment - Unfortunately, the "multiple" attribute and upload mode is not supported on EE 3.3. It's inclusion in the TLD was in error. As noted in the Known Issues section of the ace:fileEntry Wiki topic: The user interface for selecting multiple files to all upload at once is not complete, so only single file uploading per fileEntry component is enabled for now. To upload multiple files in a single upload operation, simply use multiple fileEntry components in the same form. Note that ICEfaces 4 / EE4 does support true multiple file selection and upload via a single ace:fileEntry component.

          People

          • Assignee:
            Unassigned
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: