Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesWorking with IUpgradable interfaceWorking with IUpgradable interface
Previous
 
Next
New Post
12/4/2014 9:56 AM
 

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?

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesWorking with IUpgradable interfaceWorking with IUpgradable interface


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out