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 ExtensionsModulesModulesImport/Export issuesImport/Export issues
Previous
 
Next
New Post
11/22/2010 10:32 AM
 
All of my modules are IPortable, but sometimes on some sites where they are used, they do not export their contents properly.

Why would it be exporting modules on some sites, but then on others it would behave as if IPortable wasn't set?

In the past I had problems with modules not getting registered as IPortable, but I manually corrected that with this sql:
update desktopmodules set supportedfeatures=1 where businesscontrollerclass='my class supporting iportable'

This worked on most sites but today I see this problem on one of my sites again (and I've verified that IPortable is set on the modules in question).
 
New Post
11/22/2010 2:03 PM
 
did you try to export content of a module and validate, that the file properly contains all data? when importing make sure not to import autonumbered fields.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2010 3:36 PM
 
The module export file does not contain the data for the IPortable interface implementation. It is as if the module exported did not implement the interface. Every one of the modules in my site share the same iportable implementation and it works on most sites.
 
New Post
11/22/2010 4:47 PM
 
in this care, it looks like an issue of the iPortable implementation, you may need to debug...

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/23/2010 11:17 AM
 
Figured it out. Our export code was dependent on us following a specific (unspoken) naming convention (the fk column in our settings table to modules needed to be named moduleid). It was also dependent on the order by which modules were first installed on the site (any modules that were first installed after the module which didn't follow the naming convention were not exportable).

For anyone who cares, our fixed sql for getting the exported data is available at https://gist.github.com/712000

It assumes that module settings are located in a table associated by a foreign key to modules.moduleid and that this table doesn't have any keys to other tables nor do any other tables have keys to it. actual IPortable implementation and import sql is left to you
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesImport/Export issuesImport/Export issues


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