You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Eric Murphy (Created) (JIRA)" <ji...@apache.org> on 2012/01/16 02:15:39 UTC
[jira] [Created] (CB-174) Cannot pass URL parameters or hash value
to another page
Cannot pass URL parameters or hash value to another page
--------------------------------------------------------
Key: CB-174
URL: https://issues.apache.org/jira/browse/CB-174
Project: Apache Callback
Issue Type: Bug
Components: Android
Affects Versions: 1.3.0
Environment: Android
Reporter: Eric Murphy
Priority: Critical
01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-174) Cannot pass URL parameters or hash value
to another page
Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-174:
--------------------------
Fix Version/s: 2.0.0
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
> Fix For: 2.0.0
>
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by "Joe Bowser (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199174#comment-13199174 ]
Joe Bowser commented on CB-174:
-------------------------------
https://android-review.googlesource.com/#/c/31870/ - can pass hash, not params. Trying to get help from Google.
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-174) Cannot pass URL parameters or hash value
to another page
Posted by "Joe Bowser (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser reassigned CB-174:
-----------------------------
Assignee: Joe Bowser
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by "Simon MacDonald (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186998#comment-13186998 ]
Simon MacDonald commented on CB-174:
------------------------------------
You are running into this Android bug:
http://code.google.com/p/android/issues/detail?id=17327
Please go star it and hopefully Google will fix it soon. While you are there star the related:
http://code.google.com/p/android/issues/detail?id=17535
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Priority: Critical
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by "Joe Bowser (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189332#comment-13189332 ]
Joe Bowser commented on CB-174:
-------------------------------
Working on a work-around for this issue, assigning it to myself.
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by "Sharbel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448670#comment-13448670 ]
Sharbel commented on CB-174:
----------------------------
So what is the conclusion, is this resolved in 2.0, or is it that you will not fix it since it is an android issue?
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
> Fix For: 2.0.0
>
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Resolved] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by Jesse MacFadyen <pu...@gmail.com>.
This is also an issue on wp7.
Generally pages loaded from a file uri do not do this, as this is a
server thing.
Cheers,
Jesse
Sent from my iPhone5
On 2012-02-23, at 2:10 PM, "Joe Bowser (Resolved) (JIRA)"
<ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Joe Bowser resolved CB-174.
> ---------------------------
>
> Resolution: Unresolved
>
> This isn't a Cordova Issue, this is an Android issue, and while I'm trying to get this fixed, I think discussion/review/whatever should go over to the Android tracker.
>
>> Cannot pass URL parameters or hash value to another page
>> --------------------------------------------------------
>>
>> Key: CB-174
>> URL: https://issues.apache.org/jira/browse/CB-174
>> Project: Apache Callback
>> Issue Type: Bug
>> Components: Android
>> Affects Versions: 1.3.0
>> Environment: Android
>> Reporter: Eric Murphy
>> Assignee: Joe Bowser
>> Priority: Critical
>> Fix For: 2.0.0
>>
>>
>> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
>> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
>> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
[jira] [Resolved] (CB-174) Cannot pass URL parameters or hash value
to another page
Posted by "Joe Bowser (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-174.
---------------------------
Resolution: Unresolved
This isn't a Cordova Issue, this is an Android issue, and while I'm trying to get this fixed, I think discussion/review/whatever should go over to the Android tracker.
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Assignee: Joe Bowser
> Priority: Critical
> Fix For: 2.0.0
>
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-174) Cannot pass URL parameters or hash
value to another page
Posted by "Eric Murphy (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13187007#comment-13187007 ]
Eric Murphy commented on CB-174:
--------------------------------
Thanks for the links. I starred them. I am surprised this bug even exists.
In the meantime, I am going to try to get around the issue by storing parameters in window.localStorage. Not ideal, for sure... blah.
> Cannot pass URL parameters or hash value to another page
> --------------------------------------------------------
>
> Key: CB-174
> URL: https://issues.apache.org/jira/browse/CB-174
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: Android
> Reporter: Eric Murphy
> Priority: Critical
>
> 01-16 20:08:57.150: D/DroidGap(9190): DroidGap: GapViewClient.onReceivedError: Error code=-1 Description=The Web page contains an error. URL=file:///android_asset/www/Site.html#7fc22773-6566-474b-ad42-1a39cffd58ca
> In essence, if you have a link from A.html to B.html (with a hash value or URL parameters) PhoneGap crashes. I even hard-coded to the link to make sure it was not any issue with another framework.
> Test with B.html#xyz (hash value) and B.html?val=xyz (URL parameters).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira