DocumentCodec and DBObjectCodec treat nested Maps/Iterables differently

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.0.0
    • Component/s: Codecs
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      This is closely related to JAVA-1760. The fix was made for DBObjectCodec but DocumentCodec remained unchanged. Now, in DBObjectCodec, the Map interface takes precedence over the Iterable interface whereas in DocumentCodec, it the other way around.
      Since there are no compatibility issues to take care of, I suggest that DocumentCodec throw an error if "conflicting" interfaces are implemented by embedded objects.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jochen Kemnade
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: