tsgrp / OpenContent

TSG's Web Services for ECM Repositories
8 stars 4 forks source link

Folder Taggable Behavior Doesn't Let You Delete a Folder with Content in it #72

Closed zkeller closed 8 years ago

zkeller commented 8 years ago

The folder taggable behaviour is included in all alfresco projects. If you try to delete a folder that has documents in it with the hpi:taggable aspect (through share or code), you get an error. Probably due to the fact that when the document tries to get the parent node, it doesn't exist.

This behaviour needs to be fixed so this error isn't thrown when a folder is deleted. Also, is it necessary to all OC projects? Should this be in a project's module-context.xml instead of alfrescoEmb-bean-config.xml?

gsteimer commented 8 years ago

@zkeller @b-k-white I would agree - this should be wired up in the module-context and not on by default for all Alfresco deployments.

ghost commented 8 years ago

Fixed both of these issues. Moved to module-context , and behaviour doesnt run when the folder has been deleted.

OC- 13249 CR - Zaq