ICEfaces
  1. ICEfaces
  2. ICE-1456

Seam-componentShowcase:- problem loading message in properties bundle existing in icefaces-comp (for FileUpload)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#3
    • Fix Version/s: 1.6DR#4, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      all

      Description

      Using same main template as regular componentShowcase, (this feature works on regular version), if a filename is entered that isn't valid, a message should be loaded (from the message.properties file in icefaces-comps.jar). I copied the messages.properties file to messages_en_US.properties as well as messages_en.properties but the resource bundle was still not found. Application properties bundles for regular and seam versions are identical.

      locale is en_US (both versions)

      exception is:-

      18:49:28,548 ERROR [STDERR] java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key com.icesoft.faces.component.inputfile.INVALID_NAME_PATTERN_detail
      18:49:28,548 ERROR [STDERR] at java.util.ResourceBundle.getObject(Unknown Source)
      18:49:28,548 ERROR [STDERR] at java.util.ResourceBundle.getObject(Unknown Source)
      18:49:28,548 ERROR [STDERR] at java.util.ResourceBundle.getString(Unknown Source)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.utils.MessageUtils.loadMessageInfo(MessageUtils.java:64)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.utils.MessageUtils.getMessage(MessageUtils.java:40)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.component.inputfile.InputFile.upload(InputFile.java:150)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.UploadServlet.service(UploadServlet.java:63)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:63)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:35)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:41)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:18)
      18:49:28,548 ERROR [STDERR] at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:47)

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: