Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#3
-
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)
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
- blocks
-
ICE-1810 Support Integration with JBoss Seam
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This appears to have been fixed by a checkin for
ICE-1440toicefaces/trunk/icefaces/component/src/com/icesoft/faces/utils/MessageUtils.java
in revision 13606. Judy has verified fixed.