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

New Converters added to ApplicationConversionServiceFactoryBean do not get installed

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Works as Designed
    • 1.3.1.RELEASE
    • None
    • None
    • [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

            jmvivo Jose Manuel Vivó ( Chema ) - DISID.
            wrochow Waldo Rochow
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: