U4-5199 - Appending certain query strings to URLs cause InvalidOperationException (The UmbracoContext.Current is null)

Created by Shannon Deminick 09 Jul 2014, 01:04:12 Updated by James South 10 Jul 2014, 08:42:57

See: http://our.umbraco.org/forum/developers/api-questions/54318-Changing-image-format-with-ImageProcessor


James South 09 Jul 2014, 10:27:41

'''Tested using the default starter kit in v7.1.4 the following urls cause the issue.'''

http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=bmp http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=webp

'''These urls work correctly.''' http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=jpg http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=gif http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=png http://localhost:50110/media/SampleImages/1063/pic01.jpg?format=png8

Shannon Deminick 10 Jul 2014, 01:11:17

Was a 'client side' file check issue. There was already a fixme note in that method... so consider it fixed now :)

James South 10 Jul 2014, 08:42:57

Ah brilliant! Champion work man! :)

Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.1.5, 6.2.2


Story Points: