Skip to content
Snippets Groups Projects
Commit f9ee2405 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

Revert "Merge pull request #79 from sorinello/master"

This reverts commit 018570b7, reversing
changes made to b3385a90.
parent 018570b7
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ public boolean action(XWikiContext context) throws XWikiException
// We need to have a string in the map for each field for the object to be correctly created.
// Otherwise, queries using the missing properties will fail to return this object.
BaseClass baseclass = object.getXClass(context);
Map<String, String[]> objmap = oform.getObject(className + "_" + object.getNumber());
Map<String, String[]> objmap = oform.getObject(className);
@SuppressWarnings("unchecked")
Collection<PropertyClass> fields = baseclass.getFieldList();
for (PropertyClass property : fields) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment