I declaratively created a content type which has an attached event receiver. I attached this ct to a list which is also being done via xml declaration.
In principle all components are working. The event receiver is working, the list is being correctly created and the content type is being attached. But the event receivers are not being attached to the list.
To make the event receivers work I need to remove and re-attach the content type to the list. Once this has been done everything works as expected.
Some information to the feature which is being used.
One feature contains all required fields, the list instance and definition. I also tried to modify the sequence the components but with no result.
Does anyone has an idea why it is behaving like this?