Sounds like a good idea, try it and submit a patch if it works.

Dirk

Kevin Moran wrote:
> 
> Hi,
>     I apologize if this observation has been made
> before or if I'm wrong about this.  But it looks like
> the name I'm specifying for my NodeRevisionDescriptor
> is being reset in Content.create() (The form that
> takes in a SlideToken, String, NodeRevisionDescriptor
> and NodeRevisionContent).  I poked around a bit in
> 1.0.16's ContentImpl.java and it appears to be
> happening in the section whose comment reads "set the
> display name (in case of copy)."
>     I can get around this by resetting the name after
> the call to Content.create() and then re-storing the
> descriptor using Content.store().  But I'd prefer just
> to call Content.create() if possible.  Would it cause
> any problems if ContentImpl.create() were modified to
> set the descriptor's name only if it weren't already
> specified?
> 
> Just wondering,
> -kevin
> 
> __________________________________________________
> Do You Yahoo!?
> Great stuff seeking new owners in Yahoo! Auctions!
> http://auctions.yahoo.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to