Bug 980823 - Duplicated messages in jsf subsystem
Summary: Duplicated messages in jsf subsystem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JSF
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR11
: EAP 6.4.0
Assignee: Farah Juma
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 10:02 UTC by Ivo Studensky
Modified: 2019-08-19 12:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-1631 0 Critical Resolved Duplicated message ids in web, undertow, jsf and osgi subsystems 2015-10-12 13:29:09 UTC

Description Ivo Studensky 2013-07-03 10:02:00 UTC
Description of problem:
There are duplicated messages in JSF susbsystem in EAP which has the same ids. At the moment they also have the same content. But at general, there should not be any duplicated messages.

This bug is a part of WFLY-1631.

Comment 3 JBoss JIRA Server 2013-07-03 12:30:39 UTC
Tomaz Cerar <tomaz.cerar> made a comment on jira WFLY-1631

Ok, I will talk to Stuart as it will be me that will probably be fixing undertow subsystem.

Comment 7 Nikoleta Hlavickova 2014-04-09 11:08:35 UTC
Situation in EAP 6.3.0 ER1 is the same as Ivo said in Description. Here is the list of duplicated IDs:

jboss-eap-6.3-src/jsf/injection/src/main/java/org/jboss/as/jsf/JSFLogger.java
Id = 12600 is used 2 times
Id = 12601 is used 2 times
Id = 12602 is used 2 times
Id = 12603 is used 2 times

jboss-eap-6.3-src/jsf/injection/src/main/java/org/jboss/as/jsf/JSFMessages.java
Id = 12650 is used 2 times
Id = 12651 is used 2 times
Id = 12652 is used 2 times
Id = 12653 is used 2 times
Id = 12654 is used 2 times
Id = 12655 is used 2 times

Comment 8 Ron Šmeral 2014-07-29 14:22:34 UTC
Still present in 6.3.0.ER10.
There's 9 duplications (12600-12602, 12650-12655) and just one minor collision:

jsf/subsystem/src/main/java/org/jboss/as/jsf/JSFLogger.java:
@Message(id = 12603, value = "Unknown JSF version '%s'.  Default version '%s' will be used instead.")

jsf/injection/src/main/java/org/jboss/as/jsf/JSFLogger.java:
@Message(id = 12603, value = "Unknown JSF version %s %s will be used instead")

IMHO, duplications are not too big a problem, given that messages don't get changed once they are given an ID. The collision should be resolved, though.

Comment 10 Nikoleta Hlavickova 2014-11-27 07:16:11 UTC
Verified with EAP 6.4.0.DR11.


Note You need to log in before you can comment on or make changes to this bug.