[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4657) Credit card expiration month in wicket example breaks booking example

Pedro Medeiros (JIRA) jira-events at lists.jboss.org
Thu Jun 3 12:37:56 EDT 2010


     [ https://jira.jboss.org/browse/JBSEAM-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Medeiros updated JBSEAM-4657:
-----------------------------------

    Attachment: booking.patch


Patch for the booking example. Change the type of the credit card expiration mounth to String solves it.

> Credit card expiration month in wicket example breaks booking example
> ---------------------------------------------------------------------
>
>                 Key: JBSEAM-4657
>                 URL: https://jira.jboss.org/browse/JBSEAM-4657
>             Project: Seam
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 2.2.0.GA
>         Environment: Mac OS X 10.5.8, JBoss 5.1.0
>            Reporter: Wes Munsil
>         Attachments: booking.patch
>
>
> Bookings in the seam-wicket example apparently store the month of the credit card expiration date as text (e.g. Jan). This renders the seam-booking example inoperative; the result is a page that says "javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query".  The log contains the message "ERROR [JDBCExceptionReporter] Wrong data type: type: VARCHAR (12) expected: INTEGER value: Jan".
> Cancelling the seam-wicket booking enables the seam-booking example to operate again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list