Re: problem with removeMixin

2011-05-03 Thread Alexander Klimetschek
On 12.04.11 07:31, Alexander Klimetschek aklim...@adobe.com wrote: This could be the case because (mandatory) properties defined by the mixin are still set on the node. As I just learned, this is actually wrong - removing a (normal) mixin should automatically remove the properties it defines.

Re: problem with removeMixin

2011-04-13 Thread Gazi Mushfiqur Rahman
I am not sure how that is possible. This is what I have done: 1. Added 'mix:shareable' mixin to a node. 2. Created a shared node for that node 3. Removed the shared node (by calling: 'node.removeShare();' on the shared node) 4. Remove the 'mix:shareable' mixin from the original node

Re: problem with removeMixin

2011-04-13 Thread Stefan Guggisberg
On Wed, Apr 13, 2011 at 11:01 AM, Gazi Mushfiqur Rahman gazimushfiqurrah...@gmail.com wrote: I am not sure how that is possible. This is what I have done:   1. Added 'mix:shareable' mixin to a node.   2. Created a shared node for that node   3. Removed the shared node (by calling:

Re: problem with removeMixin

2011-04-12 Thread Gazi Mushfiqur Rahman
In my case, I added 'mix:shareable' mixin to a node created earler. But later if I try to remove the mixin, I get the error message that 'mix:shareable' mixin can not be removed from the node. Any idea why this is happening or how I can fix this issue? On Tue, Apr 12, 2011 at 12:29 AM, Alexander

Re: problem with removeMixin

2011-04-12 Thread Alexander Klimetschek
On 11.04.11 23:16, Gazi Mushfiqur Rahman gazimushfiqurrah...@gmail.com wrote: In my case, I added 'mix:shareable' mixin to a node created earler. But later if I try to remove the mixin, I get the error message that 'mix:shareable' mixin can not be removed from the node. Any idea why this is

RE: problem with removeMixin

2011-04-11 Thread davidjgonzalez
Were you able to resolve this? I am running into a similar problem trying to remove a MixinType from a Workflow .. I was trying it from a different method (though the removeMixin seems like the better way). I kept getting a Node (Property) is protected and have been unable to toggle the Protected

Re: problem with removeMixin

2011-04-11 Thread Justin Edelson
You should use removeMixin(). But, as the OP noted, you can't remove a mixin which wasn't added by addMixin(). On Sun, Apr 10, 2011 at 1:40 PM, davidjgonzalez davidjgonza...@gmail.com wrote: Were you able to resolve this? I am running into a similar problem trying to remove a MixinType from a

Re: problem with removeMixin

2011-04-11 Thread Alexander Klimetschek
On 11.04.11 09:55, Justin Edelson jus...@justinedelson.com wrote: You should use removeMixin(). But, as the OP noted, you can't remove a mixin which wasn't added by addMixin(). Exactly. Because a mixin that is part of a (primary) node type because that node type includes it / inherits from it,

Re: problem with removeMixin

2011-01-05 Thread Alexander Klimetschek
On 05.01.11 16:35, PALMER, THOMAS C (ATTCORP) tp3...@att.com wrote: ries to strip the mix-in when promoting to the next workspace in the workflow. Just a guss: was the mixin added through Node.addMixin() (then it should work, if the version history is gone, afaik) or is it already part of the

RE: problem with removeMixin

2011-01-05 Thread PALMER, THOMAS C (ATTCORP)
- att:nodeTypeKey (STRING) mandatory - * (UNDEFINED) multiple - * (UNDEFINED) Thanks - -Original Message- From: Alexander Klimetschek [mailto:aklim...@adobe.com] Sent: Wednesday, January 05, 2011 10:52 AM To: users@jackrabbit.apache.org Subject: Re: problem with removeMixin On 05.01.11 16