Bug 539017 - The Override support only works on Page and Group
Summary: The Override support only works on Page and Group
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Properties (show other bugs)
Version: 6.0.1   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-09-13 07:42 EDT by Stephane Begaudeau CLA
Modified: 2018-10-05 09:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2018-09-13 07:42:22 EDT
Using the Override support on anything else than a Page or a Group will produce a stack overflow. It wouldn't work for Pages and Groups too if we didn't have a PageOverrideDescriptionPreprocessor and a GroupOverrideDescriptionPreprocessor.

The proper solution would be to simply consider that the fields overrides and extends should be filtered by default by the DefaultDescriptionPreprocessor. This fix would make both the PageOverrideDescriptionPreprocessor and the GroupOverrideDescriptionPreprocessor useless.

To reproduce this issue, try to create an override on a dynamic mapping if for example.