Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-beta-5
-
Fix Version/s: None
-
Component/s: inheritance, property interpolation
-
Labels:None
-
Environment:2.0.4
-
Number of attachments :
Description
inherited site.xml files are interpolated with the originating project's model values and not the consumer project's values
i have a n-deep multiproject env; when a sub-project uses the root project's site.xml file, any $
{project.*} expressions defined in the root site.xml are replaced with values from the root project and not the project that is being rendered, ie. title in index.html would be "root project" and not "sub-sub-sub-project". This applied to all ${project.*}expressions in the site.xml
Issue Links
- depends upon
-
DOXIATOOLS-34
Separate inheritance and interpolation
-
- relates to
-
MSITE-312
Interpolation not working in inherited elements
-
This goes both for site.xml files resolved from the reactor as for files resolved from a repository.
The site.xml attachments in the repository are already interpolated. Since they're primarily meant
for inheritance I think they should not be interpolated before they're deployed.