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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Bug in V5 Extension Package Creation WizardBug in V5 Extension Package Creation Wizard
Previous
 
Next
New Post
1/5/2009 7:18 AM
 

Hi Folks

I am still trying to reverse engineer the Module Manifest in order to get my modules to upload (a question raised in this thread and still unresolved). But I am creating a new thread here to report some related but different errors/bugs.

In order to get a model of a correct Module Manifest, I have created a compiled module (via the v5 starter kit) loaded it succesfully into V5 and tried to generate an extension package from that to use as a model. This fails and gives me this error message:

  A critical error has occurred.
Version string portion was too short or too long.

But before we get there I do get a draft of the (presumably incorrect) manifest, which I reproduce below

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="ModuleTest" type="Module" version="1.0.0">
      <friendlyName>ModuleTest</friendlyName>
      <description>A ModuleTest module</description>
      <owner>
        <name>test</name>
        <organization>test</organization>
        <url>www.test.com</url>
        <email>geoff@test.com</email>
      </owner>
      <license>This package has no license</license>
      <releaseNotes />
      <components>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\ModuleTest</basePath>
            <script type="Install">
              <name>01.00.00.SqlDataProvider</name>
              <version>01.00.00</version>
            </script>
            <script type="Install">
              <name>ModuleTest.SqlDataProvider</name>
              <version>ModuleTest</version>
            </script>
            <script type="UnInstall">
              <name>Uninstall.SqlDataProvider</name>
              <version>1.0.0</version>
            </script>
          </scripts>
        </component>
        <component type="Module">
          <desktopModule>
            <moduleName>ModuleTest</moduleName>
            <foldername>ModuleTest</foldername>
            <businessControllerClass>YourCompany.Modules.ModuleTest.ModuleTestController</businessControllerClass>
            <supportedFeatures>
              <supportedFeature type="Portable" />
              <supportedFeature type="Searchable" />
            </supportedFeatures>
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>ModuleTest</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/ModuleTest/ViewModuleTest.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle />
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Edit</controlKey>
                    <controlSrc>DesktopModules/ModuleTest/EditModuleTest.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Edit Content</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Settings</controlKey>
                    <controlSrc>DesktopModules/ModuleTest/Settings.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>ModuleTest Settings</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>YourCompany.Modules.ModuleTest.ModuleTestController</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList>01.00.00</upgradeVersionsList>
            </attributes>
          </eventMessage>
        </component>
        <component type="Assembly">
          <assemblies>
            <basePath>bin</basePath>
            <assembly>
              <name>ModuleTest.dll</name>
            </assembly>
          </assemblies>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\ModuleTest</basePath>
            <file>
              <path>app_localresources</path>
              <name>EditModuleTest.ascx.resx</name>
            </file>
            <file>
              <path>app_localresources</path>
              <name>Settings.ascx.resx</name>
            </file>
            <file>
              <path>app_localresources</path>
              <name>ViewModuleTest.ascx.resx</name>
            </file>
            <file>
              <name>ModuleTest.dnn</name>
            </file>
            <file>
              <path>documentation</path>
              <name>Documentation.css</name>
            </file>
            <file>
              <path>documentation</path>
              <name>Documentation.html</name>
            </file>
            <file>
              <path>documentation</path>
              <name>logo.gif</name>
            </file>
            <file>
              <name>EditModuleTest.ascx</name>
            </file>
            <file>
              <name>Settings.ascx</name>
            </file>
            <file>
              <name>ViewModuleTest.ascx</name>
            </file>
          </files>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>

Perhaps someone who knows could tell me what is wrong here and if I should register this in the issue tracker. Also (though not so important) the text in the DotNetNuke Compiled Module Documentation needs updating i.e.

Installing your module

To install your module, browse to your deevlopment DotNetNuke website and log in as a Host (SuperUser) user.

  • Browse to the Host/Module Definitions page and select Add Module. In the drop-down combo at the top of the page select the Manifest file for your new module and click Install.

Kind regards

Geoffrey

 


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
1/5/2009 7:23 AM
 

please note, that version numbers are always expected in format 00.00.00 (Major, Minor, Minimal)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/5/2009 2:41 PM
 

Hi Sebastian

That is very interesting because you cant type in the version numbers, you select them from Edit Extension screen, Package Settings, Version dropdownlists of the Wizard and there are then a number of places where this automatically generated manifest (listed in my first post) doesn't comply:

<dotnetnuke type="Package" version="5.0">

<package name="ModuleTest" type="Module" version="1.0.0">

<script type="UnInstall">
              <name>Uninstall.SqlDataProvider</name>
              <version>1.0.0</version>
            </script>

I have fixed these (e.g to dotnetnuke type="Package" version="05.00.00") in the review screen, clicked next, and still get the message:

A critical error has occurred.
Version string portion was too short or too long.

So, should I log this as a bug, or am I doing something wrong?

Kind regards

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
1/5/2009 4:29 PM
 

I just reviewed the outstanding issues and two of them deal with version numbers (9125 and 9102) and I expect this to be fixed in DNN 5.0.1. Thanks.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/8/2009 5:08 PM
 

Sebastian,

Geoffrey's error is directly related to typing errors in his manifest file. I have posted a corrected entries in another thread he created.

Hope this helps.

 

tb

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Bug in V5 Extension Package Creation WizardBug in V5 Extension Package Creation Wizard


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