Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-502
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Nick Minutello
Votes: 0
Watchers: 0

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

I (stupidly) mapped two different classes with the same alias. Would be nice if Compass told me I was being stupid on startup

Created: 10/Jan/08 07:08 AM   Updated: 11/Jan/08 07:51 AM
Component/s: Compass::Core
Affects Version/s: 1.2 GA
Fix Version/s: None

 Description  « Hide
The current behaviour is that it silently fails to find anything I index....

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 11/Jan/08 07:51 AM
There is some support for it in Compass. It is mainly driven by mapping a class using annotations, and then using xml mapping to enhance it by giving it the same alias. So, in this case, the xml mapping binding checks, and if there is an already defined class for it, it will simply add/replace the given mappings for it with the xml mappings.