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

New Converters added to ApplicationConversionServiceFactoryBean do not get installed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 1.3.1.RELEASE
    • Fix Version/s: None
    • Component/s: None
    • Environment:
      [rev f4f5256], Ubuntu Linux

      Description

      I created a new Converter in ApplicationConversionServiceFactoryBean to handle the display of lists of objects. However the installLabelConverters(FormatterRegistry registry) method is in the corresponding aspect file, so my new converter doesn't get installed into the registry.

      The workaround is to copy all converters from the aspect file into ApplicationConversionServiceFactoryBean as well as the installLabelConverters method and the afterPropertiesSet then comment out the @RooConversionService annotation to decouple the aspect service for this bean. However, that now means that you must manage all thos converters yourself.

      I suspect that this might get resolved in version 2.0 when the deprecated installFormatters(FormatterRegistry registry) method is addressed.

        Attachments

          Activity

            People

            • Assignee:
              jmvivo Jose Manuel Vivó ( Chema ) - DISID.
              Reporter:
              wrochow Waldo Rochow
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: