Hi guys very quick question. I am looking to confirm why my module will not execute previous version SqlDataProvider files if I am installing module version 1.0.1 from scratch (no other version of the same module existed prior to this install).
I suppose lets start with extract from manifest file:
<package name="ModuleName" type="Module" version="01.00.01">
<path>Providers\DataProviders\SqlDataProvider</path>
<name>00.00.01.SqlDataProvider</name>
<name>01.00.00.SqlDataProvider</name>
<name>01.00.01.SqlDataProvider</name>
<businessControllerClass>LinkWise.Modules.ModuleName.Components.Controllers.FeatureController</businessControllerClass>
<supportedFeatures>
<supportedFeature type="Upgradeable" />
</supportedFeatures>
<eventMessage>
<processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
<processorCommand>UpgradeModule</processorCommand>
<attributes>
<businessControllerClass>LinkWise.Modules.ModuleName.Components.Controllers.FeatureController</businessControllerClass>
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
<upgradeVersionsList>01.00.00</upgradeVersionsList>
</attributes>
</eventMessage>
<component type="Cleanup" version="01.00.00" fileName ="01.00.00.txt" />
<component type="Cleanup" version="01.00.01" fileName ="01.00.01.txt" />
As you can see the current version I am working with is 1.0.1 and I had two previous versions before.
If I understand correctly DNN manifest file is like workload for module installer which should execute SqlDataProviders in order starting from 0.0.1 > 1.0.0 > 1.0.1 so on so forth provided the module is getting installed for the first time.
But for whatever reason module installer only reported execution of 1.0.1 SqlDataProvider and CleanUp script during installation. And this has happened on three separate occasions three separate installations of DNN 7.3.3
I have implemented UpgradeModule inside FeatureConroller as per instructions left by Chris and few other helpful places. So I can't really fault that.
Can anyone see if I am overlooking something obvious?