[
https://issues.jboss.org/browse/SEAMCONFIG-47?page=com.atlassian.jira.plu...
]
Marek Schmidt commented on SEAMCONFIG-47:
-----------------------------------------
The problem seems to be
{noformat}
private Set<GameRoom> getAdjacentRooms() {
HashSet<GameRoom> ret = new HashSet<GameRoom>();
if (currentRoom.getNorth() != null) {
ret.add(currentRoom.getNorth());
}
if (currentRoom.getSouth() != null) {
ret.add(currentRoom.getSouth());
}
if (currentRoom.getEast() != null) {
ret.add(currentRoom.getEast());
}
if (currentRoom.getWest() != null) {
ret.add(currentRoom.getWest());
}
return ret;
}
{noformat}
on AS7 (new Weld?) all the instances have the same hash and are equal(), even though they
are not identical objects, so the HashSet always contains only one room.
Cannot hear drunken singing on AS7 final
----------------------------------------
Key: SEAMCONFIG-47
URL:
https://issues.jboss.org/browse/SEAMCONFIG-47
Project: Seam Config
Issue Type: Bug
Environment: seam config commit ce5fbb7, jboss-as-web-7.0.0.Final
Reporter: Marek Schmidt
Assignee: Stuart Douglas
In the Princess rescue example on jboss AS 7, there should be the following message
displayed in the second room:
{quote}
You feel a breeze. You hear drunken singing.
{quote}
but nothing is displayed, the same .war works fine on jboss AS 7.0.0.CR1
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira