hi

I don't know if anybody has used the 'creator' datatype, which is a
specialization of String.
For me it dousn't work, becouse the class Creator.java inserts the
user name if the following condition is true:

node.mayWrite() && node.isNull(field.getName())

This should be the case for new nodes alone. Unfortantely it isn't.
node.isNull() ends up in MMObjectNode.isNull().
Here, after some checks, the following is returned:

return values.get(fieldName) == null;

But for my (new) node values.get(fieldName) returns an empty string.

So, the creator is not inserted.

Is this a known issue? should I fix it?

regards,

Ernst
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to