Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  Friendly URL Caching causes bugs with page editing
Previous Previous
 
Next Next
New Post 7/10/2008 12:47 AM
Unresolved
  RMG
6 posts
No Ranking


Friendly URL Caching causes bugs with page editing 

I'm getting an odd behavior when using the FriendlyURL module.  Basically, whenever a new tab is created or a change has been made to the tab name of an existing tab the server keeps the old name in memory and does not allow the user to editing the settings of that tab.  The only way to fix it so far has been to restart the DNN application after each change.  Once a restart takes place, the URLs work correctly. Could an error within the web.config or DNN version that could cause something like this to happen?  We've used this module before without having this come up.

 
New Post 7/10/2008 9:02 AM
  Bruce Chapman
640 posts
1st Level Poster


Re: Friendly URL Caching causes bugs with page editing 

I'm getting a few scattered reports of this behaviour so something may have changed in a DNN Version that I wasn't aware of.

If you're of the technical bent, the way it recognises page name changes is through the regex value of 'triggerDictionaryRebuild'.  This regex is applied to the rewritten url, and if a match is found, the page index is rebuilt, which will include the 'new' page urls (the same effect as doing an app restart).

You can experiment around with this regex value and see if you can make it capture the page changes you are talking about, or, if that is out of your skillset, then I will be doing the same thing and posting the results.

 
New Post 7/12/2008 4:59 AM
  RMG
6 posts
No Ranking


Re: Friendly URL Caching causes bugs with page editing 

Hae you made any headway on this Bruce? The DNN version we are using is 4.6

I'm not sure how to write the regex so that the page index is rebuilt. This would have to be something generic wouldn't it?

 
New Post 7/12/2008 4:08 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: Friendly URL Caching causes bugs with page editing 

No headway just yet.  It's on my list of urgent bugs so I'll be looking at it as soon as I can.  It's been a hectic couple of weeks for support.  I'll post back when I've got something new for you.

To answer your other question - all you need to do is understand the different rewritten urls that each action takes - by action I mean 'action that impacts the urls'.  You can see what the rewritten urls look like by turning friendly urls off completely and going back to the default.aspx?tabid=11 style.  When you change page settings, or add a new page, look at the urls and see if you can find commonality in the Url for the postback.  Then simply craft a regex that will match the correct ones and not match every other time.

 
New Post 7/14/2008 3:58 PM
  Bruce Chapman
640 posts
1st Level Poster


Re: Friendly URL Caching causes bugs with page editing 

I have found that there is a problem with the triggerDictionaryRegex - it is using case sensitive comparison.  You might want to check what 'case' your requests are for the page editing (ie ctl/tab vs Ctl/Tab).  I will get a fix out for this when I next do a release of the Friendly Url Provider code.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  Friendly URL Caching causes bugs with page editing
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.