New file uploader and IE9

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.
1/31/2014 10:48:28 AM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,
 
I just emailed you a patched version of mojoPortal.Web.dll version 2.4.0.2 that has a new setting to force disabling the jquery file uploader so that it will use the standard .net file upload posting back to the page instead of the service url.
 
Add this to user.config then deploy the dll and it should go back to standard asp.net file upload functionality.
 <add key="ForceLegacyFileUpload" value="true"/>
 
Hope that helps,
 
Joe
1/31/2014 12:34:11 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Hi Joe,

Thanks; I applied the dll and updated the user.config. I does resolve the issue with the with the file uploader in IE 9.  I'm using ASP.NET TreeView for my navigation items and your dll is rendering the menu as table items, which is upsetting the display of the sites.  Can you send me a dll that works with TreeView?

Thank you!

~ Beth

1/31/2014 1:22:54 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,

I can assure you that nothing in that dll changed asp.net treeview nor mojoTreeView which is used by <portal:SiteMenu and <portal:PageMenu. In fact there have been no changes to mojoTreeView in over 16 months according to revision history of the repository.

I suggest check your error log for other clues about the cause of that problem, I do not see how it could be related to the dll I sent you. 

I did send you the .NET 4 version of the dll and assume you are using .NET 4 or higher and not .NET 3.5. I don't think this dll would even load under .NET 3.5.

Best,

Joe

1/31/2014 2:20:07 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Hi Joe,

I took a copy of my live deployment, replaced my dll with the new one you provided, added the new setting to the user.config and touched the web.config, at which point the SiteMenu and PageMenus both loaded as html tables instead of unordered lists. When I removed the dll you provided and replaced with with the dll that had compiled with the full source code, the site returned to it's normal display of <ul><li> tags. There have not been any errors in the log.

~ Beth

1/31/2014 2:41:02 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Also I'm running on 4.0. Since I have the full source code, you could tell me which files you affected and I can pull them down and redeploy. I'd rather not if we can resolve the issue with a dll, but am willing to if we can't get to the bottom of the menu changes.

Thanks,

Beth

1/31/2014 2:52:58 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Hi Beth,

Sorry but I have no explanation for that and am not able to reproduce that problem. I just did a clean install of mojoPortal 2.4.0.2 then added the skin art31-green from our extra skins which is an older one that I know uses treeview. Then I downloaded the zip I sent you from my sent mail extracted it and deployed it to this installation and nothing changed in the menu.

I've also deployed it to the demo site but the demo site doesn't have any skins using TreeView, all newer skins use FlexMenu, so I uploaded the art31-green skin to the demo site and it works fine with TreeView.

I keep a copy of the source code exactly as it is for each release and the changes to add the option to disable the file uploaded were applied directly to only 2 files WebConfigSettings.cs and jQueryFileUpload.cs and re-compiled to create the patched dll I sent. There were no other changes and definitely no changes to any treeview control in over 18 months much less in this patched version.

Best,

Joe

1/31/2014 3:00:58 PM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

You can see the source code history here, but note that there have been multiple changes in the repository since the 2.4.0.2 release, the dll I sent you was not compiled form the latest code in the repository it was compiled from a copy of the 2.4.0.2 source code patched only with the changes for this new setting. Those changes were also applied to the repository in this changeset, but there are other changes as well in the repository such as an upgrade to a newer version of TinyMCE.

Its up to you if you want to build and deploy your own source code from the repository. If you deployed the official 2.4.0.2 release then the patched dll should work fine. If your current deployment was made yourself from source code then it might be a good idea to build again with the latest code since you may be running a version newer or older build than the official 2.4.0.2 package.

Best,

Joe

1/31/2014 4:05:49 PM
Gravatar
Total Posts 130

Re: New file uploader and IE9

Hey Joe,

I looked at the history link you sent and applied the changes to those two files. Built fine and it's working locally in IE :-)

At this point I won't be redeploying to the server until Monday morning but I think I have my fix.

Thanks very much for working it out with me.

~ Beth

6/6/2014 10:06:43 AM
Gravatar
Total Posts 19

Re: New file uploader and IE9

Hey Joe,

I have been running into a problem similar to this. We have upgraded to MojoPortal 2.4.0.2 and still have some users who run IE9. They are finding that when they upload a file though the editor, the browser prompts the user to open or save 'FileService.js' clicking open will finish uploading the file though the page never refreshes to show that the upload finished. 

 

Would this require the same fix that Beth used?

 

Thanks,

Nicholas

6/6/2014 11:21:44 AM
Gravatar
Total Posts 18439

Re: New file uploader and IE9

Its up to you, if most of your users have IE 9 you could use the same solution to disable the jquery file uploader and use the old school file upload. At this point to do that you would need to upgrade to mojoPortal 2.4.0.3 in order to get the change that is needed to disable it.

6/13/2014 10:40:43 AM
Gravatar
Total Posts 23

Re: New file uploader and IE9

Hope you don't mind me adding in an observation here. I've had to add the user.config option  <add key="ForceLegacyFileUpload" value="true"/> to allow file uploads for all browsers on my https secure site.

Yesterday I moved from 2.3.9.8 to 2.4.0.3 one of my servers which runs a single instance site but with https settings and the new drag and drop feature wasn't working  - in the following way:

Press on link or image and then browser server to load File Browser. Press on choose file, select file, choose - would return and view which did not contain the file name of file and no upload button was visible, so all users were then stuck. 

Where as with ForceLegacyFileUpload = true - the filename would appear and the upload button would function. 

This was independent of using CKeditor or TinyMCE, which would be expected as mentioned above the File Browser feature is separate. 

I have other servers running mojoportal and not https and they are working fine with nice new the drag and drop feature. 

Thanks, Karl

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