Results 1 to 3 of 3

Thread: ObjectToMapTransformer enhancement

  1. #1
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Unhappy ObjectToMapTransformer enhancement

    Hello, Oleg.
    I tried to use ObjectToMapTransformer for my domain objects writing in Groovy.
    And I'd got
    Cyclic reference detected between: CachedClass - CachedClass
    It is because you don't ignore metaClass property from GroovyObject in
    org.springframework.integration.transformer.CycleD etector
    at the row of source code:
    PHP Code:
    if (propertyName.equals("class") && ignoreClassAttribute){
         continue; 
    // no need to process

    Should I open an issue in JIRA?

    Thank you,
    Artem Bilan

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Sure.
    As you can see it is already designed to be configurable via 'defaultIgnorePakages' of CycleDetector, while not yet exposed to the end user, so we should probably expose a setter to the end user so customization could be made for 2.1.

  3. #3
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    632

    Default


    I'm glad to see you!
    How is your weekend?
    Why do you work today?

    So, do I have to open an issue in JIRA, if you already plan to make the end user strategy for transformation customization?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •