-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branch filtering has no effect on content reused via conref mechanism #4375
Comments
This doesn't work because branch filtering is done before conref. |
In general, also because of issues like this, once you start using branch filtering, all direct links and conrefs need to be replaced with indirect keyrefs, conkeyrefs and you need to define a keyscope on the topicref which has the branch filter condition. Plus the reusable file would need to be referenced inside the branch:
and the reference inside "concept_test.dita" would become:
|
There are changes to the way we do processing we could make, but they are in the category of Takes Time To Develop, so this will not be fixed in the immediate future. |
@raducoravu , @jelovirt , thanks a lot for these informations and for the workaround. |
Actual Behavior
Branch filtering has no effect on content reused via conref mechanism. See sample:
li
items inreuse.dita
are not filtered.Expected Behavior
Branch filtering works on content reused via conref mechanism.
Steps to Reproduce
test.ditamap
concept_test.dita
reuse.dita
filter.dita
Possible Solution
To make filtering works, you can apply branch filtering directly on
reuse.dita
fileEnvironment
The text was updated successfully, but these errors were encountered: