DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27024>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27024

ContentImpl.create() always sets displayname to resource name.





------- Additional Comments From [EMAIL PROTECTED]  2004-02-26 10:12 -------
Line 496:

revisionDescriptor.setName(new UriPath(strUri).lastSegment());

Should there a check to see if the name is null or empty, just like the one in
setDefaultProperties() at line 1392?

if (revisionDescriptor.getName() == null ||
revisionDescriptor.getName().length() == 0) {
                UriPath uripath = new UriPath(associatedObject.getUri());
                revisionDescriptor.setName(uripath.lastSegment());
            }

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

Reply via email to