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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child pages not properly following parent pageChild pages not properly following parent page
Previous
 
Next
New Post
11/10/2009 6:02 PM
 

I'm using dnn 5.1.x (.02 on one site and .04 on another) and am experiencing problems when rearranging pages.  If I move a page that is a parent, the child pages do not automatically update to the new location.  The only way I've found to fix this is to edit the child page settings and update the page (no changes have to be made, but update does have to be clicked). 

As an example:

I have a page at portal.com/directory1/parentpage/childpage.aspx

If I change the page name of 'directory1' to 'directoryA' or if move 'parentpage' up a level (so that it's no longer a child of 'directory1'), the parent page has to be manually updated for the page address to be accessible without the renamed or deleted page, as do each of the child pages under it (it can not be found by going directly to portal.com/parentpage/childpage.aspx but can be accessed at the original portal.com/directory1/parentpage/childpage.aspx)

For a more real world example, if I wanted to remove the subdirectory USA from the following site -- maps.com/USA/California/Counties/Orange.aspx so that the page would now be -- maps.com/California/Counties/Orange.aspx) every sub page would have to be manually 'updated' via the page settings.  In this example, every state would have to be manually updated, as well as every county.  That's a LOT of mindless clicking!

This is either a pretty big bug (not likely), or I'm doing something WAY wrong (very likely).  I'm using the stock friendly url module, and no other third party app.  I've duplicated this multiple times and a restart of the app doesn't seem to reindex the pages.  Any suggestions?  I'm guessing that using iFinity URL Master would fix this, but I'm not positive. 

If this isn't an isolated problem, it really does need to be addressed.  This little quirk could potentially force me to 'update' 4000 pages on one of my sites due to a redesign of the page structure.  As I said, that's A LOT of mindless clicking and a platform as mature as DNN really shouldn't have this kind of buggaboo in it.

 
New Post
11/11/2009 12:12 PM
 

Friendly bump.

 
New Post
11/11/2009 12:22 PM
 

How do you move the page - in admin :: pages or by altering the parent page in page settings of the root?

Are page paths of child pages updated properly in Tabs table in the database?

If yes, get the issue resolved by restarting the application?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/25/2009 7:19 AM
 

This is due to a bug in the TabController. When a tab is updated it retrieves the tab from the cache and uses the cached version to construct the tab path for all child tabs. Because the tab is pulled from cache the old tab path is used to construct the tab path for the children and so they do not get updated.

According to the ticket in the DNN bug tracking system (http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10878&PROJID=2)  this is due to be fixed in release 5.2.0 by clearing the cache prior to calling the method UpdateChildTabPath. However, it's also possible to update the UpdateChildTabPath method to pass in the updated tab (rather than the tabid) so that the cache does not have to be dropped.

You can find more details & the updated code that I have provided at the above URL.

Hope this helps.
 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child pages not properly following parent pageChild pages not properly following parent page


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