Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: godboko71 on June 17th, 2013, 06:06 AM

Title: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 17th, 2013, 06:06 AM
When I hit submit or enter my thought does not go through and all other thoughts disappear until page reload. See attached. There may also be an issue with file uploads on posts and IE10 however I am not certain.


Edited to add: Wish I could reorder the attachments :P
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Antes on June 17th, 2013, 10:14 AM
I can do it; IE 10.0.6
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 17th, 2013, 12:38 PM
Never had any problems either, on Win7 + IE10 at least...

Some older versions of IE have trouble, though, when hitting Enter instead of the Submit button. Not that I could care less about these, though... I know how to fix that, but I d-o-n-o-t-c-a-r-e.
Posted: June 17th, 2013, 12:35 PM

Had a look at the error log... Looks like, your IE10 is failing to transmit the current context to Wedge.
Can you check your JavaScript error log...? (Developer tools.)
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 18th, 2013, 05:40 AM
Will have to be tomorrow away from pc sadly good that it is just my system didn't trouble shoot before posting I should have!
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 18th, 2013, 03:14 PM
Nah, it's bad that it's just your problem, otherwise, it'd already be fixed... ;)
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 18th, 2013, 10:51 PM
Yeah its something with javascript and this system. Sorry for the false report.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 19th, 2013, 12:27 AM
What error then..?
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 20th, 2013, 05:06 AM
Just some syntax errors
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 13166
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 13376
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 9363
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 9363
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737
SCRIPT5022: Caught exception occurred : SyntaxError
jquery.min.js, line 4 character 14737

Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 20th, 2013, 10:14 AM
Well, so that would be a jQuery problem...
Only, it shouldn't happen either way. 4:13166 is e.querySelectorAll(), which is a perfectly valid DOM method, so... Whatever?!

Maybe this could be solved by using $.get instead of $.post on some areas, as it seems related to an 'unfixable' bug in IE10+jQuery that was reported over there. I'm not exactly sure, though... Are you ready to test even more when I apply the change..? :P
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 20th, 2013, 05:56 PM
Sure I can, thoug ph I might be available at different hours so it might take awhile to reply.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 20th, 2013, 06:00 PM
'kay, just reload your homepage, should be updated now...
Tell me if it's still giving you errors, or not!
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 20th, 2013, 08:06 PM
Those errors are gone now a new and only error is: XML5660: The specified prefix has not been declared.
, line 4 character 11
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 21st, 2013, 04:29 AM
Thought I should add I can now make thoughts on IE10 without being in Private mode. Can't like or delete thoughts though.Error above is only one in debug mode of dev tools.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 21st, 2013, 04:20 PM
Uh, what specified prefix..?!
Even then... Wedge is returning HTML, not XML... That's totally crazy.
Remind me

'Like', not surprised you can't, since it's still doing a Post, rather than a Get.
Can you push Like in Desktop mode, Metro mode, and Private mode, just to be sure..?

So, yeah, basically, this is the problem I saw mentioned elsewhere, and moving to $.get fixed it, but I certainly don't like the idea of expecting all variables to be put into the URL in plain sight, but... Whatever...

Pete, what do you think..? $.get or $.post?
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Arantor on June 21st, 2013, 05:30 PM
One thing at a time. querySelectorAll is a valid method but IE doesn't behave properly with it, as per http://stackoverflow.com/questions/15145108/running-jquery-crashing-on-ie10-win7

The other errors, I have no idea what they are... but I don't see why $.get and $.post should behave fundamentally differently.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 22nd, 2013, 06:56 AM
So I can do everything in Metro IE 10 . I can also do everything in Private, just not on standard desktop mode.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 22nd, 2013, 12:13 PM
IE10 is just a filthy sack of shit, just like earlier versions. The apple doesn't fall far from the tree...

Anyway:
http://bugs.jquery.com/ticket/12790

This is jQuery's bug ticket for this issue, and they indicate that Microsoft doesn't seem to give a damn. I'm tempted to revert my changes, and just use $.post(), because really, really, Microsoft, go to hell.
Since we're never going to make money with Wedge, and we spent three years on it already, and I wasted months on IE compatibility, I don't want to spend an extra minute on their vomit.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Arantor on June 22nd, 2013, 05:37 PM
Quote
This is jQuery's bug ticket for this issue, and they indicate that Microsoft doesn't seem to give a damn. I'm tempted to revert my changes, and just use $.post(), because really, really, Microsoft, go to hell.
Very tempted to agree.
Quote
Since we're never going to make money with Wedge, and we spent three years on it already, and I wasted months on IE compatibility, I don't want to spend an extra minute on their vomit.
I wouldn't say that. Just need to be careful about what we do and how we do it.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 23rd, 2013, 01:00 AM
@godboko, do you have Avast installed on your machine? Or any antivirus? Can you try disabling it when liking a thought?
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: godboko71 on June 23rd, 2013, 05:09 AM
Disabling AVG in my case had no effect though I expected as much since I don't have its add on enabled for web protection. Though it didn't hurt to try because disabled doesn't always mean disabled sadly.

Edited to add: Reverting would be fine, its a pretty small footprint of users.
Title: Re: Can't Post Thoughts on IE10 on Win8
Post by: Nao on June 24th, 2013, 11:46 PM
A quick end-user solution is to set IE10 to IE9 compatibility mode.

Heck, I could even force IE9 compat mode on IE10, because, well... I don't really care if IE10 doesn't get all the bells and whistles Microsoft implemented, eh..?