[
https://issues.jboss.org/browse/JBIDE-19187?page=com.atlassian.jira.plugi...
]
Ilya Buziuk commented on JBIDE-19187:
-------------------------------------
[~burrsutter], could you please attach the project?
(1) Frankly, can't get the livereload problem. IMHO 404 is not coupled with
livereload. Does it stop working?
(2) in terms of XHR and 500 server error - there is no silver bullet to handle all cross
domain ajax due to the fact that it depends dramatically on the remote server setup -
http://stackoverflow.com/questions/18402422/phonegap-application-not-work...
. We do have 3 proxy setting (local / remote / disabled) - at least one of them should
work for this particular case.
< With that said, CordovaSim was handling localhost:8080 well…at the time the video was
made. Any ideas?
hmm.. that's weird that it started to failing cause we do not have any relevant
changes that could have broken everything that way. I do believe changing the proxy might
tackle the issue.
(3) [~akazakov], [~vrubezhny] seems to be coupled with js validation - could you take a
look?
CordovaSim + localhost:8080 fail
--------------------------------
Key: JBIDE-19187
URL:
https://issues.jboss.org/browse/JBIDE-19187
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cordovasim
Environment: JBDS 8
Reporter: Burr Sutter
Assignee: Ilya Buziuk
Priority: Critical
Fix For: 4.2.3.Beta1, 4.3.0.Alpha1
Attachments: localhost_error.png
The following logic used to work and now fails:
$.getJSON("http://localhost:8080/jboss-as-kitchensink-html5-mobile/rest/members",
function(data) {
$("#contacts").empty();
var items = [];
$.each(data, function(key, val) {
console.log("item: " + key + " " + val.name);
items.push("<li><a href='#"+ key +
"'>" + val.name +"</a></li>");
});
$("#contacts").append(items);
$("#contacts").listview("refresh");
});
-------
as seen in this youtube video and comments
https://www.youtube.com/watch?v=FstGLMr3W8s&feature=gp-n-y&google...
---- Using the Chrome Debugger (via CordovaSim, right-click, Dev Tools)
has the following error message:
https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyh...
500 ()
rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_ru...
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)