Michiel Meeuwissen wrote:

IIRC, it was never possible to set value on an not committed node?



Generally, that would be very odd, and I don't believe you are right here.
The 'context' is a special kind of field value, but still it is simply
written in the owner field, so I would think that this should be possible
without too much trouble.


Im refering to the old interface here, so maybe im making the wrong assumptions based on this:
http://www.mmbase.org/development/api/1.6/org/mmbase/security/Authorization.html#setContext(org.mmbase.security.UserContext,%20int,%20java.lang.String)
Here we see that the node is refered by using a node numer. Internally a getNode(nodenumber) could be done.
The real question is if this getNode(nodenumber) -should- work for not committed nodes?



This, btw, is a bit related to my wish:
#6148 Open Wish Medium 1.6.1 Core Uncommited Node should already have a a real number.


which, when granted, would make some things (like this problem with aliases) a whole lot easier..


I think this would indeed be a nice sollution to solve these kind of things.


Reply via email to