Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3483

JSF Addon - Converter creation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.4.RELEASE
    • Fix Version/s: None
    • Component/s: JSF
    • Labels:
      None
    • Environment:
      Mac OSX

      Description

      Converters are not created correctly when scaffolding.
      1. Lack of the annotation @FacesConverter on the class
      2. The method getAsObject implementation has a bug: tests if the value passed as parameter is null or empty, but forgets to trim it before checking its length, so at runtime with the string " " it throws exception.

        Attachments

          Activity

            People

            Assignee:
            eruiz Enrique Ruiz (DiSiD)
            Reporter:
            zakhrim Stefano Cazzola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: