What steps will reproduce the problem?
Domain d = sdb.createDomain("test");
Item i = d.getItem("test-id");
List<ItemAttribute> attrs = new ArrayList<ItemAttribute>();
attrs.add(new ItemAttribute("attrName1", "value3", true));
attrs.add(new ItemAttribute("attrName1", "value4", true));
attrs.add(new ItemAttribute("attrName2", "value1", true));
attrs.add(new ItemAttribute("attrName2", "value2", true));
i.putAttributes(attrs);
Map<String, List<String>> map = i.getAttributesMap(null);
System.out.println(map);
What is the expected output? What do you see instead?
I would expect:
{attrName1=[value3, value4], attrName2=[value1, value2]}
I see:
{attrName1=[attrName1, attrName1], attrName2=[attrName2, attrName2]}
What version of the product are you using? On what operating system?
Version 1.5.2 on Mac OSX
Original issue reported on code.google.com by Simon.Ef...@gmail.com on 9 Jul 2009 at 6:03
Original issue reported on code.google.com by
Simon.Ef...@gmail.com
on 9 Jul 2009 at 6:03