You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/05/23 07:04:02 UTC

DO NOT REPLY [Bug 9336] New: - DynamicPropertyHandler and Collections bug

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9336>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9336

DynamicPropertyHandler and Collections bug

           Summary: DynamicPropertyHandler and Collections bug
           Product: Commons
           Version: 1.0 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: JXPath
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: mm@teraspect.de


I possibly noticed a bug concerning dynamic property beans containing collections.

Consider a bean, which's properties are handled thru a DynamicPropertyHandler.

When a certain property is a (indexed) collection,
context.iterate("/<property>") should (so far as I understood) iterate over all
elements of the collection.
Instead the Iterator iterates only over the first element.

The same thing without dynamic properties works of course.

You reproduce this behaviour by using a Map to store the attributes.

TX
Markus

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>