SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-480
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Ben Dotte
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Compass

Allow filtering of create/save/delete cascade operations

Created: 05/Nov/07 12:32 PM   Updated: 06/Nov/07 01:21 PM
Component/s: Compass::Core
Affects Version/s: 1.2 GA
Fix Version/s: 2.0 M1

File Attachments: 1. Text File CompassCascadeFilter.patch (5 kB)



 Description  « Hide
During cascading, there needs to be a way to filter out certain objects from being created/saved/deleted. This filtering should operate in a manner similar to the HibernateMirrorFilter used in the GPS module. It is also needed because of the HibernateMirrorFilter; that filter will only catch items that are themselves inserted/updated/deleted, but it is ignored on objects that are cascade-created/saved/deleted. The discussion on this feature is here:

http://forums.opensymphony.com/thread.jspa?threadID=140105

I'll attach a patch, created against trunk downloaded on Nov 5, 2007. I've tested that it works with the way our code is setup but feel free to modify it however you need as I am not super familiar with the Compass source



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 06/Nov/07 01:21 PM
Applied the patch. The only change the the CascdeFilter interface which us now under cascade package. Thanks!