Firstly hope you have a great holiday.
OK, so I would like to understand the intended process for the following scenarios. I know it might be long post and I am not trying to create more work when you are in RC stage ... but I have seen funny results and want to understand the intended behaviour before I proceed to bug reports or to look to the code.
So lets take a simple(ish) example. A MOD with a main MODX file (install.xml) this main file links to the follow files
- subsilver (link type = template)
- subsilver english (link type = template-lang)
- french (link type = language)
- subsilver french (link type = template-lang)
- prosilver french (link type = template-lang)
Each of these MODX files link back to main as parent type. Looks like a lot of files, but really only supporting English & French and subSilver & prosilver. So quiet common I think ... 2 languages and 2 standard styles.
Now lets look at very common scenarios that will happen.
Scenario 1)
User has a board with en & prosilver only. What is intended behavior for mod details from frontend before install? Should it show you all linked files or none, since all linked are for not yet installed components. i.e you have not subsilver or french installed. What What is intended behavior after install?
Scenario 2)
User had board with en & prosilver & subsilver installed. What is intended behavior for mod details from frontend before install? What will AutoMOD automatically edit?
Scenario 3)
User had board with en & fr & prosilver installed. What is intended behavior for mod details from frontend before install? What will AutoMOD automatically edit?
Scenario 4)
Same as scenario 1, user had en & prosilver and installed MOD, then they installs subsilver. What will AutoMOD show now for mod details?
Scenario 5)
Same as scenario 1, user had en & prosilver and installed MOD, then he installs fr. What will AutoMOD show now for mod details?
To my eyes with this example MOD and 5 scenarios you cover all computations and I am very interesting to know the bahaviour you expect/designed AutoMOD to display.
Hope its OK if you can take the time to respond to this when you get a chance.
Regards
Esmond