[JBoss JIRA] Created: (JBSEAM-336) BigDecimal is not handled properly
by Valerij Timofeev (JIRA)
BigDecimal is not handled properly
----------------------------------
Key: JBSEAM-336
URL: http://jira.jboss.com/jira/browse/JBSEAM-336
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 1.0.1
Environment: German or US locale, Windows XP Pro, myfaces 1.1.3, Oracle 9.2 or MySQL 4.1.9
Reporter: Valerij Timofeev
Generating CRUD Seam applications results in some fields having Java type BigDecimal.
It seems that this type is not handled properly.
There are no error messages in the JBoss server.log (log4j javax.faces & org.jboss.seam priorities are DEBUG). Query returns no results.
Debugging shows for example that findFirstPage() method is never called.
Changing type e.g. to Double fixes the issue (see workarounds for details) : it becomes possible to step through the method. And query returns some results.
Clicking on create link and then switching to find view (other bean than current) results in the following JSF error:
Cannot set value for expression '#{somebeanEditor.instance.id}' to a new value of type java.lang.String
Where ID is of type BigDecimal.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months
[JBoss JIRA] Created: (JGRP-300) NAKACK.send() doesn't need to be synchronized
by Bela Ban (JIRA)
NAKACK.send() doesn't need to be synchronized
---------------------------------------------
Key: JGRP-300
URL: http://jira.jboss.com/jira/browse/JGRP-300
Project: JGroups
Issue Type: Task
Affects Versions: 2.3 SP1
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.4
NAKACK.send() currently calls passDown(evt) in a synchronized(sent_msgs) statement. However, this is not necessary (contrary to handleMessage() which needs to pass messages up in the order of sequence numbers) because messages can be sent un-ordered. The receivers will order the messages anyway, so if we sent 1,3,2,4 due to thread premption, the receivers will order them and deliver them as 1,2,3,4.
BENEFIT: the less synchronization, the less probability of deadlocks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 8 months