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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorLinks to files getting corrupted on second save (Input string not in correct format error)Links to files getting corrupted on second save (Input string not in correct format error)
Previous
 
Next
New Post
11/24/2006 10:26 AM
 
Hi - thanks for the quick reply.

It did look like URL encoding/decoding gone bad to me too, but, I did not know if it was the PA or FCK that was creating the problem.  It's too bad that the LinkClick code needed to put escape characters in the fileticket.

I can test some more, but, I know that this is not working.  My customer has several examples on their development site and I verified the behaviour before I posted to the forum.

I can not release the URL to the public, but, I will send you a private email with example URLs so you can test it too.

Thanks

Greg C

 
New Post
11/24/2006 12:01 PM
 
For me the link is not working. As I said before after the link is modified I get an ASP.NET error:

Server Error in '/' Application.

Input string was not in a correct format.

 
New Post
11/25/2006 10:48 AM
 

The server error is not produced by FCKeditor because it uses java. The provider only passes fck data to the module requesting it. The problem could be the module.

Can you please tell me which module are you using and. Have you tried the same link by using another module (i.e. links module)?

I need all the information to reproduce the same behavior locally.


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
11/25/2006 11:02 AM
 

Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
11/26/2006 5:17 AM
 

I did some more testing with different modules and different files. This is what I found:

  1. The problem is not just with files that have a space in the filename (as Greg suggested). The problem occurs with links that use "linkclick.aspx?fileticket=xxxxxxxxx" where there is a "%xx" (e.g. "%2b") in the fileticket. When this link is resaved the "%xx" is changed to the "real" value (e.g. "+"). I think this is why linkclick.aspx generates a server error. Here is a before and after example of a fileticket for a file that does not have a space in the filename:

    /LinkClick.aspx?fileticket=%2fLScr%2bnMuYA%3d&tabid=1905     <---works
    /LinkClick.aspx?fileticket=/LScr+nMuYA=&tabid=1905                  <---causes server error
  2. I found the problem originally using the Text/HTML module with FCKeditor. I did some tests with other modules that make links with LinkClick.aspx, and another editor:
    1. I created a User Defined Table with a Rich Text (HTML) column and created a link in the text with FCKeditor. The link always works, even after resaving the data.
    2. In the User Defined Table I created a Download column and linked to a file (on the page this is a "linkclick.aspx?fileticket=xxxxxxxxx" link). The link always works, even after resaving the data.
    3. I changed the default editor to FTB and made some links to files in the Text/HTML module. These links also use "linkclick.aspx?fileticket=xxxxxxxxx". The links always worked, even after resaving the data.

So my conclusion is that the problem only occurs in the Text/HTML module using FCKeditor. Is the problem in the provider, the editor or the module??? Confusing!

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorLinks to files getting corrupted on second save (Input string not in correct format error)Links to files getting corrupted on second save (Input string not in correct format error)


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