[JBoss JIRA] Created: (SEAMSECURITY-73) Follow Seam 3 example naming scheme
by Jozef Hartinger (JIRA)
Follow Seam 3 example naming scheme
-----------------------------------
Key: SEAMSECURITY-73
URL: https://issues.jboss.org/browse/SEAMSECURITY-73
Project: Seam Security
Issue Type: Task
Affects Versions: 3.0.0.Final
Reporter: Jozef Hartinger
Priority: Minor
Please, follow these naming constraints for the sample application to be consistent with other Seam 3 demos.
{noformat}
folder name: {example}
artifact id: seam-{module}-example-{example}
context path: {module}-{example}
package: org.jboss.seam.{module}.examples.{example}
{noformat}
* use dashes as delimiters
* if the example name uses dashes ( - ), these are removed in the package name
Current violations:
* openid-op
** incorrect package name
* openid-rp
** incorrect package name
* saml-idp
** incorrect artifact id
** incorrect context path (finalName)
** incorrect package name
* saml-sp
** incorrect artifact id
** incorrect context path (finalName)
** incorrect package name
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (SOLDER-93) Add more thorough tests for @Requires
by Dan Allen (JIRA)
Add more thorough tests for @Requires
-------------------------------------
Key: SOLDER-93
URL: https://issues.jboss.org/browse/SOLDER-93
Project: Seam Solder
Issue Type: Enhancement
Components: Core
Affects Versions: 3.0.0.CR4
Reporter: Dan Allen
Add more thorough tests for @Requires for scenarios in which the required class is referenced in the bean that relies on that class. Currently, the only reference to the required class is in the @Requires annotation as a string.
Test scenarios:
- @Requires on package-info.java references class on classpath
- inject required class into bean in package
- use required class as return value of method on bean in package
- use required class a super class of bean in package
- do not include injected class in shrinkwrap archive
- make sure deployment succeeds
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[JBoss JIRA] Created: (SEAMCATCH-18) Provide exception type mapping (to deal with vendor-specific exception types)
by Dan Allen (JIRA)
Provide exception type mapping (to deal with vendor-specific exception types)
-----------------------------------------------------------------------------
Key: SEAMCATCH-18
URL: https://jira.jboss.org/browse/SEAMCATCH-18
Project: Seam Catch
Issue Type: Feature Request
Components: Core Implementation
Affects Versions: Alpha2
Reporter: Dan Allen
Assignee: Jason Porter
There are cases when the useful information about an exception is only available in an implementation-specific exception. It would be useful to provide an exception type mapping infrastructure so that implementation-specific exceptions can be mapped to portable exception types.
A classic example is JPA provider exceptions. Hibernate throws a SQLGrammarException in cases where the SQL statement is invalid (has a syntax error or refers to an invalid table/column). However, if you are writing portable JPA code, you cannot catch this exception. Thus, it would be useful to be able to catch an portable exception that represents this vendor-specific exception.
Obviously, the actual mapping in this example would be done in the persistence module. Catch needs to provide some mechanism for an integration to register the mappings, which it will honor when notifying handlers.
It should be noted that this is a very popular feature from Spring. Refer to SessionFactoryUtils for an example of the exception type mapping.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
[JBoss JIRA] Created: (SEAM-93) Seam3 Booking example NPE in bookHotel on AS7
by Marek Schmidt (JIRA)
Seam3 Booking example NPE in bookHotel on AS7
---------------------------------------------
Key: SEAM-93
URL: https://issues.jboss.org/browse/SEAM-93
Project: Seam 3 Distribution
Issue Type: Bug
Affects Versions: 3.0.0.Final
Environment: jboss-7.0.0.Beta4-SNAPSHOT, build #1194, standalone
Reporter: Marek Schmidt
Assignee: Marek Schmidt
Fix For: Future
Clicking "Book Hotel" on a Hotel Details page leads to javax.ejb.EJBTransactionRolledbackException
{quote}
...
#{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException: javax.faces.FacesException: #{bookingAgent.bookHotel}: javax.ejb.EJBTransactionRolledbackException
...
Caused by: java.lang.NullPointerException
at org.jboss.seam.examples.booking.booking.BookingAgent.bookHotel(BookingAgent.java:108) [classes:]
...
{quote}
Seems like bookHotel not run in the same conversation scope for some reason (pretty faces issue, maybe?)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months