Forum OpenACS Development: Re: Changing Name and Title in File Storage

Collapse
Posted by Malte Sussdorff on
I *strongly* recommend to change the default behaviour on content_folders to not only change the *label* but also the *name* of the folder if the folder is renamed, *OR* use the label to find the PATH for files in file storage. This will take care of #2157 and result in a decent consistency of the system itself.

Is there a use case where you change the label of a folder (aka what the user sees) but not the name (that is used for the URL). If there is, does this affect file-storage and WebDAV?

Unless someone complains (especially Dave), I will make the change to "label" instead of "name" for detecting the item_id of the folder in one go with the change above. Regardless of the answer of for the use case, I'd only make this change on folder-edit-2 in the file storage and leave it to others to fix it wherever they see the need (e.g. webdav).