Hi Tyler,

I have a problem. If I am in the home page of the drupalgap app and I go to another page via link and then I go back with the back mobile button and I click again in the home page link (in menu) the screen shows something like this:

{:header:} {:sub_header:} {:navigation:} {:content:} {:footer:}

That occurs in all the pages, not only in home page, and only if I have the option "reload: true" in that page ( I need the reload option).

X page -> go to Y page -> back button -> click again to X page in menu => blank page with {:header:} {:sub_header:} {:navigation:} {:content:} {:footer:}

Any suggestion?

Thanks!

Comments

tyler.frankenstein’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

Try updating to the latest bin/drupalgap.js, this may now be fixed. Please advise.

ynosh’s picture

Hi Tyler,

It doesn't work for me. It still crashes. The last drupalgap.js is that? https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/bin/drupalgap.js

jomarocas’s picture

Status: Postponed (maintainer needs more info) » Active

ok same error, i go to any page, and i go to node/5 for example, i edit and i make something, go back to home, with options reload:true and again i go to node page, no load, and stay in home, ok i reload again home and again nothing, white screen in logs no tell me nothing, of course no give me node.json and obviously dont show in console log, i use the latest version of this moment drupalgap 7.0.4, thanks

tyler.frankenstein’s picture

Status: Active » Postponed (maintainer needs more info)

I don't understand the issue mentioned in #3, it is very hard to read.

jomarocas’s picture

Status: Postponed (maintainer needs more info) » Active

still crashes when navigating various page and the only press back, appear blank page with {:header:} {:sub_header:} {:navigation:} {:content:} {:footer:}

tyler.frankenstein’s picture

Category: Bug report » Support request
Saneesh’s picture

Hello Tyler,

Is there any fix or temporary fix for this issue? I'm also facing the same issue.

Regards,
Saneesh.

tyler.frankenstein’s picture

Category: Support request » Bug report

Probably implementing http://api.drupalgap.org/7/global.html#hook_drupalgap_back and watching out for the special case that actually causes this problem, then hopefully stopping the back call or using something like drupalgap_goto() to move forward.