Bug 980823

Summary: Duplicated messages in jsf subsystem
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ivo Studensky <istudens>
Component: JSFAssignee: Farah Juma <fjuma>
Status: CLOSED CURRENTRELEASE QA Contact: Nikoleta Hlavickova <nziakova>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: kkhan, myarboro, pkremens
Target Milestone: DR11   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.