#19 Deep index patch

Dozer v.4.4

XMLParser patch for Deep index

Attached is the patch for bug #1845706 (http://sourceforge.net/tracker/index.php?func=detail&aid=1845706&group_id=133517&atid=727368).

The problem is in the method getFieldNameOfIndexedField. All list indexes are replaced by empty string instead of only last.

Field name are not correct when we have more than one index like <a>secondArray[0].thirdArray[7]</a>.
- Without patch, fieldName = secondArray.thirdArray
- With patch, fieldName = secondArray[0].thirdArray

The patch is based on version 4.2.1.



  • Mickael Morier

    Mickael Morier - 2008-08-21

    Logged In: YES
    Originator: YES

    File Added: dozer-patch-deepindex.patch

  • dmitry (lv)

    dmitry (lv) - 2008-09-30
    • assigned_to: nobody --> buzdin
  • Matt Tierney

    Matt Tierney - 2008-12-06

    Hi Mickael,

    Thanks for submitting the patch. I am going to try and get this in the 4.4 release. Can you submit a simple as possible unit test that reproduces the issue. That way we can add it to our regression test suite and be able to confirm that the patch resolves your issue? Thanks

  • dmitry (lv)

    dmitry (lv) - 2008-12-11
    • status: open --> closed
  • dmitry (lv)

    dmitry (lv) - 2008-12-11
    • milestone: --> Dozer v.4.4
    • status: closed --> closed-fixed
  • dmitry (lv)

    dmitry (lv) - 2008-12-11

    Fixed, thank you for the patch.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks