Ajax navigation breaks with Ajax error #1171

Closed
Goudnet opened this Issue Mar 2, 2011 · 9 comments

Comments

Projects
None yet
6 participants
@Goudnet

Goudnet commented Mar 2, 2011

I'm very sorry I didn't get around to reporting this in alpha2, but the problem also exists in a3:

When traversing links in my mobile site, eventually it no longer processes the URLs correctly.

Problem Site: (running a3)
http://b.ruskin.co/ (not .com)
Steps

  1. From Home Page
  2. Click "News" toolbar link
  3. Click first article link "Here's the 411..."
  4. Click "Catalog" toolbar link (error)

Site running a1 where the links work fine...
http://ruskin.co/

@hotTea

This comment has been minimized.

Show comment
Hide comment
@hotTea

hotTea Mar 2, 2011

I am facing a similar issue. I am using JQM alpha 3 and jquery 1.5.1.

When website/app is loaded all links work fine, until some link is clicked which returns error response(like 500 or 400 error page). After that navigation freezes and stops working all together.

hotTea commented Mar 2, 2011

I am facing a similar issue. I am using JQM alpha 3 and jquery 1.5.1.

When website/app is loaded all links work fine, until some link is clicked which returns error response(like 500 or 400 error page). After that navigation freezes and stops working all together.

@Goudnet

This comment has been minimized.

Show comment
Hide comment
@Goudnet

Goudnet Mar 3, 2011

I also confirm that navigation stops working once the error occurs.

Goudnet commented Mar 3, 2011

I also confirm that navigation stops working once the error occurs.

@dimio5

This comment has been minimized.

Show comment
Hide comment
@dimio5

dimio5 Mar 18, 2011

I've fixed it by adding a "isPageTransitioning = false;" in the "error:" of the $.ajax call

I hope this helps

dimio5 commented Mar 18, 2011

I've fixed it by adding a "isPageTransitioning = false;" in the "error:" of the $.ajax call

I hope this helps

@scottjehl

This comment has been minimized.

Show comment
Hide comment
@scottjehl

scottjehl Mar 27, 2011

Contributor

Just comments, code order, and whitespace, but also confirming: This Closed by c50158c, where a page loading error prevents future page loads from working.

Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html

Contributor

scottjehl commented Mar 27, 2011

Just comments, code order, and whitespace, but also confirming: This Closed by c50158c, where a page loading error prevents future page loads from working.

Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html

@scottjehl scottjehl closed this Mar 27, 2011

@Goudnet Goudnet reopened this Apr 11, 2011

@Goudnet

This comment has been minimized.

Show comment
Hide comment
@Goudnet

Goudnet Apr 11, 2011

I just added alpha 4.1 to the site and the error still happens:
http://b.ruskin.co/

Goudnet commented Apr 11, 2011

I just added alpha 4.1 to the site and the error still happens:
http://b.ruskin.co/

@hotTea

This comment has been minimized.

Show comment
Hide comment
@hotTea

hotTea Apr 11, 2011

@Goudnet - Are you sure this is happening with alpha 4.1 ? I am not seeing this issue with alpha 4.1 in my code. I hit an error page, and ajax links still work fine. Also tested here http://jquerymobile.com/demos/1.0a4.1/#docs/pages/docs-pages.html . Or does your navigation breaks with some different usecase ?

-Mayank

hotTea commented Apr 11, 2011

@Goudnet - Are you sure this is happening with alpha 4.1 ? I am not seeing this issue with alpha 4.1 in my code. I hit an error page, and ajax links still work fine. Also tested here http://jquerymobile.com/demos/1.0a4.1/#docs/pages/docs-pages.html . Or does your navigation breaks with some different usecase ?

-Mayank

@Goudnet

This comment has been minimized.

Show comment
Hide comment
@Goudnet

Goudnet Apr 12, 2011

Yes, using Alpha 4.1, this problem still exists:
Go here: http://b.ruskin.co/
Click "Catalog" then click "Access Doors" Then click the toolbar "News" link. It says cannot load page, even though it's a valid link. You can confirm that it's valid by visiting the site in a non-supported browser like IE8.

Then go here: http://ruskin.co/
When you do the same thing with the same HTML but with jQueryMobile Alpha 1, everything works fine. This problem originally broke my siite in Alpha 2.

Goudnet commented Apr 12, 2011

Yes, using Alpha 4.1, this problem still exists:
Go here: http://b.ruskin.co/
Click "Catalog" then click "Access Doors" Then click the toolbar "News" link. It says cannot load page, even though it's a valid link. You can confirm that it's valid by visiting the site in a non-supported browser like IE8.

Then go here: http://ruskin.co/
When you do the same thing with the same HTML but with jQueryMobile Alpha 1, everything works fine. This problem originally broke my siite in Alpha 2.

brandonwoo pushed a commit that referenced this issue Apr 18, 2011

scottjehl
Just comments, code order, and whitespace, but also confirming: This F…
…ixes #1171, where a page loading error prevents future page loads from working.

Confirmed on this page. Scroll down and click the error message, than another link to navigate elsewhere.
http://jquerymobile.com/test/#docs/pages/docs-pages.html

@toddparker toddparker closed this Apr 21, 2011

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Apr 21, 2011

Contributor

Goudnet,

We're going close this one and open it under something more descriptive of the issue:

#1498

Also, if you could test with the latest this might be handled by the absolute pathing changes I made a couple nights ago. Thanks for sticking with it!

Contributor

johnbender commented Apr 21, 2011

Goudnet,

We're going close this one and open it under something more descriptive of the issue:

#1498

Also, if you could test with the latest this might be handled by the absolute pathing changes I made a couple nights ago. Thanks for sticking with it!

@Goudnet

This comment has been minimized.

Show comment
Hide comment
@Goudnet

Goudnet May 13, 2011

johnbender,

I just now got around to updating the test page.... :( the problem is still present in a4.1.

Steps:
1: go to http://b.ruskin.co/
2. Click on "Catalog"
3. Click on "Access Doors"
4. Click on the "News" toolbar item.

if you do the same steps on http://ruskin.co/ (Alpha 1) it works correctly.

Goudnet commented May 13, 2011

johnbender,

I just now got around to updating the test page.... :( the problem is still present in a4.1.

Steps:
1: go to http://b.ruskin.co/
2. Click on "Catalog"
3. Click on "Access Doors"
4. Click on the "News" toolbar item.

if you do the same steps on http://ruskin.co/ (Alpha 1) it works correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment