alex-klock / razor-mediator-4-tridion

Automatically exported from code.google.com/p/razor-mediator-4-tridion
1 stars 4 forks source link

Globally imported TBBs have a dependency on themselves created if includeConfigWhereUsed is true #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add a TBB in the imports section of Tridion.ContentManager.config and ensure 
that the includeConfigWhereUsed setting is true
2. Edit this TBB and save
3. Select Where used on the TBB and observe that a circular dependency has been 
created

This in itself is not too bad (you will never be able to delete the TBB 
however), the main problem comes with Content Porter - version 2013 SP1 (I 
havent tested earlier versions) will skip this TBB when importing (probably it 
detects the circular dependency)

If you set includeConfigWhereUsed to false and resave and export the TBB it 
will import fine. However if you do this you lose the rather useful dependency 
between imported TBB and importing TBB. It would be better if the Mediator did 
not create such a circular dependency in the first place.

Original issue reported on code.google.com by willpric...@gmail.com on 16 Jan 2014 at 12:50