File manager (document ancher) (bug maybe)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/15/2011 11:56:26 AM
Gravatar
Total Posts 30
www.CSBA.org

Information Technologies, Resources and Services

California School Boards Association

File manager (document ancher) (bug maybe)

I just upgraded a site to 2.3.5.8 MSSQL and we noticed that in the file manager the ability to get the url (little ancher icon) is no longer there. Is this a bug or intended?

It seems related to another issue with the FileService.ashx no longer working as well. All the links created before the upgrade are now broken. I'm still looking in to that issue.

If this was intended is there a work around to get the links working again? I would hate to have to tell them that all the work they just finished has to be redone.

Thanks much,

Jeff

2/15/2011 12:10:23 PM
Gravatar
Total Posts 18439

Re: File manager (document ancher) (bug maybe)

Hi Jeff,

I'm guessing you upgraded from a fairly old version, I do recall that link icon being there in the early version of the newer file manager but it was removed exactly to avoid problems like this because it was never intended that anyone would link to files directly in the file manager from content. The file manager is locked down for security and should not be used for anything but uploading and downloading and  managing files. To link to a file you should use the link icon in the editor which allows browsing files that you can link to.

The fileservice for security requires a security token to be passed in the url to the file and the security token changes periodically (whenever the application restarts) and it also can only be used by users in roles allowed to use file manager so it is not designed at all to serve files for content links which may be coming from anonymous users. It was an oversight in the early implementation because that link icon was part of the file manager Ui which we got elsewhere and integrated, once we realized that people would use those links we removed it, but apparently you have been using an older version for a long time that included it.

So it is intended and the workaround is to re-link to the files using the link browser in the editor.

Hope it helps,

Joe

2/15/2011 5:11:20 PM
Gravatar
Total Posts 30
www.CSBA.org

Information Technologies, Resources and Services

California School Boards Association

Re: File manager (document ancher) (bug maybe)

Thanks for answering so quick. The version was 2.3.3.9 so yeah a little bit older.

I'll let them know that this is not a bug and we'll get to changing all the links.

Again, thanks for the answer I'll get the minions typing away,

Jeff

 

 

2/16/2011 1:54:13 PM
Gravatar
Total Posts 18439

Re: File manager (document ancher) (bug maybe)

 

Working off your point of not linking directly to files and using the link Icon in the editor then why is there a URL requirement in the simple list control? I think that's what caused the confusion. We are linking to PDF files and it would work to have the link in the description but we can't do that with out a URL. And if the list item goes to the URL then what is the editor for? Is it just there to use the link tool to get the URL?

The List feature has evolved from originally just being a simple list of links into a more flexible feature where it can be a list of html content items. You can disable the link requirement from settings by making it set for Description only.

I agree with you that it would be nice if we had a link browser something like what the editors provide that just hooked into the TextBox input for the url in the List feature. I've got an item in our project tracker for this, just not sure how soon I'll get to it.

What you can do currently though is to use just the descriptions and the editor link browser.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.