Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19187

CordovaSim + localhost:8080 fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.3.0.Alpha2
    • 4.2.0.Final
    • cordovasim
    • None

      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_comment_id=z12aft3owojdsrmgl04cengwwrjzznmb5t00k&noredirect=1

      ---- Using the Chrome Debugger (via CordovaSim, right-click, Dev Tools)
      has the following error message:

      https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_…l=http%3A//localhost%3A8080/jboss-as-kitchensink-html5-mobile/rest/members 500 () rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=http%3A//localhost%3A8080/jboss-as-kitchensink-html5-mobile/rest/members:1

        1. hybrid4001.zip
          6.43 MB
        2. localhost_error.png
          localhost_error.png
          442 kB

            ibuziuk@redhat.com Ilya Buziuk
            bsutter@redhat.com Burr Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: