PDA

View Full Version : [NOREPRO] Strange Url in JSONP Proxy



wiggerl3000
14 Oct 2011, 12:23 PM
Hey Guys,

in my App i want to Retriever Data via json an my code looks like this


xtype: 'list',
title: 'Tabelle',
iconCls: 'star',
itemTpl: '{Platz} {Team_Kurzname} {PlusTore}:{MinusTore} {PlusPunkte}:{MinusPunkte}',
store: {
fields: ['Platz', 'Team_Kurzname', 'PlusTore', 'MinusTore', 'PlusPunkte', 'MinusPunkte'],
proxy: {
type: 'jsonp',
limitParam: null,
url : 'myurl.com',
extraParams: {
liganummer: '20011800',
jn: '1',
},
reader: {
type: 'json',
root: 'Tabelle'
},
},
autoLoad: true
}

this is an Item in my TabBar.

now if i look into the URL, that is fired out by Sencha it looks like this:


http://myURL.com/tabellen/xyz.php?_dc=1318623514175&liganummer=20011800&jn=1&page=1&start=0&callback=Ext.data.JsonP.callback2

So it fires me out an error!!!

Is that a Bug that the callback variable is like that????

Greets from Germany

edspencer
14 Oct 2011, 2:20 PM
What is the error it is giving you? When I first wrote it we would just put a temporary function in the global scope but it looks like someone has changed it...

wiggerl3000
15 Oct 2011, 1:14 AM
Hi,

this is the error thrown out:


ReferenceError: Can't find variable: ExtdataJsonPcallback2

but this error is referred to my PHP document.

What i want to know is why is the Callback variable set to:


callback=Ext.data.JsonP.callback2

I think this is the Problem

Edit:

I`ve looked into the JSON, that is thrown back from my Server an put the result in an JSON-Validater, and also here is the ExtdataJsonPcallback2variable in front of the JSON an so this is invalid.

Thanks

edspencer
15 Oct 2011, 10:53 AM
Right - this looks like your bug instead of ours (unless I'm misunderstanding something)

wiggerl3000
17 Oct 2011, 8:13 AM
So made a review of my Code but didn`t find the reason.

In ST1 I do exactly the same call and it works fine ??? Strange

Also I don`t know why all errors are thrown out twice???

I do only this one JsonP call but there are two errors


ReferenceError: Can't find variable: ExtdataJsonPcallback1

ReferenceError: Can't find variable: ExtdataJsonPcallback2

Is that a bug or did I make a coding error??

I did not change the code above

edspencer
17 Oct 2011, 9:45 AM
I see - I thought you were saying it causes a php error... we'll investigate

evant
17 Oct 2011, 8:09 PM
Please post what data the server is returning as well.

wiggerl3000
17 Oct 2011, 10:35 PM
Which data do you want to have the JSON returned from the server??

Edit:

I found another problem with Google Chrome Inspector.


Uncaught ReferenceError: ExtdataJsonPcallback2 is not defined(anonymous function)

evant
19 Oct 2011, 3:11 AM
If you're making a request to the server, the server will be returning something in the HTTP response, what is it?

wiggerl3000
19 Oct 2011, 5:00 AM
So this is the complete Response Header



HTTP/1.1 200 OK
Date: Wed, 19 Oct 2011 12:54:09 GMT
Server: Apache/2.2.20
X-Powered-By: PHP/5.2.13
Connection: close
Transfer-Encoding: chunked
Content-Type: json


I think I found the problem the sencha-touch-all-debug.js sets a Breakpoint at Line 1952
and that crashes the Loading (in my opinion!!)



return function() {
var callArgs = args || arguments;


if (appendArgs === true) {
callArgs = slice.call(arguments, 0);
callArgs = callArgs.concat(args);
}
else if (typeof appendArgs == 'number') {
callArgs = slice.call(arguments, 0);
Ext.Array.insert(callArgs, appendArgs, args);
}


return method.apply(scope || window, callArgs);
};

edspencer
3 Nov 2011, 11:43 AM
Can you create a reproducible test case? I'm 99% sure this is a problem with your backend not doing the right thing because we use the exact same proxy setup on our Twitter example and it works correctly.

It would also help if you paste the full response body that your server is sending back. It looks like you're sending back something like:



ExtdataJsonPcallback2({
some: 'json'
});


When it should be:



Ext.data.JsonP.callback2({
some: 'json'
});

wiggerl3000
7 Nov 2011, 11:24 PM
Yes I understand and agree with you the problem is that the webservice get rid of the dots but I don`t know why. In SenchaTouch 1.1 I don`t have any problems with this call. Did you make any changes on the JSON-Reader ???

PS.

Here`s my complete callback from the Server


ExtdataJsonPcallback1({"vorherige_Spiele":[{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-06T16:30:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.06","Spielnummer":"20011855","Spielbericht":{},"HeimTeam_Name_lang":"Eichenauer SV","HeimTeam_Name_kurz":"Eichenauer SV","Heim_ak":"false","GastTeam_Name_lang":"TV Immenstadt","GastTeam_Name_kurz":"TV Immenstadt","Gast_ak":"false","Halle_Nummer":"270007","Halle_Name_lang":"Sporthalle an der Budrio-Allee","Halle_Name_kurz":"Eichenau, Budrio-Allee","Halle_Kuerzel":"AV_EIC","Punkte_Heim":"2","Tore_Heim":"20","Punkte_Gast":"0","Tore_Gast":"18","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"20","Gast":"18","ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T20:00:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011854","Spielbericht":{},"HeimTeam_Name_lang":"SC Kissing","HeimTeam_Name_kurz":"SC Kissing","Heim_ak":"false","GastTeam_Name_lang":"TV Memmingen","GastTeam_Name_kurz":"TV Memmingen","Gast_ak":"false","Halle_Nummer":"250115","Halle_Name_lang":"Paartal-Halle Kissing","Halle_Name_kurz":"Paartal-Halle Kissing","Halle_Kuerzel":"PAARH_KI","Punkte_Heim":"2","Tore_Heim":"34","Punkte_Gast":"0","Tore_Gast":"23","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"34","Gast":"23","ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T18:30:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011853","HeimTeam_Name_lang":"TSV Indersdorf","HeimTeam_Name_kurz":"TSV Indersdorf","Heim_ak":"false","GastTeam_Name_lang":"TuS F\u00fcrstenfbr. II","GastTeam_Name_kurz":"TuS F\u00fcrstenfbr. II","Gast_ak":"false","Halle_Nummer":"260142","Halle_Name_lang":"Sporthalle Verbandsschule Indersdorf","Halle_Name_kurz":"Indersdorf Halle Verbandsschule","Halle_Kuerzel":"INDERS","Anzahl_Verlegungen":"0","Abgesetzt":"true","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T18:00:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011852","Spielbericht":{},"HeimTeam_Name_lang":"TSV Trudering","HeimTeam_Name_kurz":"TSV Trudering","Heim_ak":"false","GastTeam_Name_lang":"TSV Niederraunau","GastTeam_Name_kurz":"TSV Niederraunau","Gast_ak":"false","Halle_Nummer":"280126","Halle_Name_lang":"Sporthalle Riem 2, Astrid Lindgrenstr. 3","Halle_Name_kurz":"Sporthalle Riem 2","Halle_Kuerzel":"RIEM2","Punkte_Heim":"2","Tore_Heim":"34","Punkte_Gast":"0","Tore_Gast":"26","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"34","Gast":"26","ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T17:30:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011851","HeimTeam_Name_lang":"TSV Allach","HeimTeam_Name_kurz":"TSV Allach","Heim_ak":"false","GastTeam_Name_lang":"TSV Unterhaching","GastTeam_Name_kurz":"TSV Unterhaching","Gast_ak":"false","Halle_Nummer":"280103","Halle_Name_lang":"St\u00e4dt. Sporthalle Eversbuschstr.","Halle_Name_kurz":"St\u00e4dt. Sporthalle Eversbuschstr.","Halle_Kuerzel":"EVERSB","Punkte_Heim":"0","Tore_Heim":"30","Punkte_Gast":"2","Tore_Gast":"34","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"30","Gast":"34","ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T17:15:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011850","HeimTeam_Name_lang":"TSV Ismaning","HeimTeam_Name_kurz":"TSV Ismaning","Heim_ak":"false","GastTeam_Name_lang":"TSV Friedberg II","GastTeam_Name_kurz":"TSV Friedberg II","Gast_ak":"false","Halle_Nummer":"280143","Halle_Name_lang":"Sporthalle Realschule Ismaning","Halle_Name_kurz":"Sporthalle Realschule Ismaning","Halle_Kuerzel":"ISMANI","Punkte_Heim":"1","Tore_Heim":"30","Punkte_Gast":"1","Tore_Gast":"30","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"30","Gast":"30","ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-05T16:00:00+01:00","Spieltag":"8","SpieldatumTag":"2011.11.05","Spielnummer":"20011849","Spielbericht":{},"HeimTeam_Name_lang":"TSV Landsberg","HeimTeam_Name_kurz":"TSV Landsberg","Heim_ak":"false","GastTeam_Name_lang":"TSV Schwabm\u00fcnch.","GastTeam_Name_kurz":"TSV Schwabm\u00fcnch.","Gast_ak":"false","Halle_Nummer":"270027","Halle_Name_lang":"Halle Sportzentrum","Halle_Name_kurz":"Landsberg, Sportzentrum","Halle_Kuerzel":"AV_LAN1","Punkte_Heim":"0","Tore_Heim":"27","Punkte_Gast":"2","Tore_Gast":"38","ManuelleWertung":"false","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":"27","Gast":"38","ErgebnisBestaetigt":"false"}],"Tabelle":[{"Platz":"1","PlatzSort":"1","PlatzVorwocheSort":"1","PlatzVorwoche":"1","Team_Kurzname":"TSV Unterhaching","PlusPunkte":"16","PlusPunkteH":"6","PlusPunkteA":"10","MinusPunkte":"0","MinusPunkteH":"0","MinusPunkteA":"0","Spiele":"8","SpieleH":"3","SpieleA":"5","SpieleGewonnen":"8","SpieleGewonnenH":"3","SpieleGewonnenA":"5","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"0","SpieleVerlorenH":"0","SpieleVerlorenA":"0","PlusToreH":"93","PlusToreA":"152","PlusTore":"245","MinusToreH":"74","MinusToreA":"124","MinusTore":"198","DiffToreH":"19","DiffToreA":"28","DiffTore":"47","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"2","PlatzSort":"2","PlatzVorwocheSort":"4","PlatzVorwoche":"4","Team_Kurzname":"Eichenauer SV","PlusPunkte":"11","PlusPunkteH":"8","PlusPunkteA":"3","MinusPunkte":"5","MinusPunkteH":"2","MinusPunkteA":"3","Spiele":"8","SpieleH":"5","SpieleA":"3","SpieleGewonnen":"5","SpieleGewonnenH":"4","SpieleGewonnenA":"1","SpieleUnentschieden":"1","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"1","SpieleVerloren":"2","SpieleVerlorenH":"1","SpieleVerlorenA":"1","PlusToreH":"134","PlusToreA":"81","PlusTore":"215","MinusToreH":"118","MinusToreA":"79","MinusTore":"197","DiffToreH":"16","DiffToreA":"2","DiffTore":"18","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"3","PlatzSort":"3","PlatzVorwocheSort":"2","PlatzVorwoche":"2","Team_Kurzname":"TSV Ismaning","PlusPunkte":"11","PlusPunkteH":"7","PlusPunkteA":"4","MinusPunkte":"5","MinusPunkteH":"3","MinusPunkteA":"2","Spiele":"8","SpieleH":"5","SpieleA":"3","SpieleGewonnen":"5","SpieleGewonnenH":"3","SpieleGewonnenA":"2","SpieleUnentschieden":"1","SpieleUnentschiedenH":"1","SpieleUnentschiedenA":"0","SpieleVerloren":"2","SpieleVerlorenH":"1","SpieleVerlorenA":"1","PlusToreH":"152","PlusToreA":"86","PlusTore":"238","MinusToreH":"143","MinusToreA":"78","MinusTore":"221","DiffToreH":"9","DiffToreA":"8","DiffTore":"17","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"4","PlatzSort":"4","PlatzVorwocheSort":"3","PlatzVorwoche":"3","Team_Kurzname":"TSV Niederraunau","PlusPunkte":"9","PlusPunkteH":"7","PlusPunkteA":"2","MinusPunkte":"7","MinusPunkteH":"1","MinusPunkteA":"6","Spiele":"8","SpieleH":"4","SpieleA":"4","SpieleGewonnen":"4","SpieleGewonnenH":"3","SpieleGewonnenA":"1","SpieleUnentschieden":"1","SpieleUnentschiedenH":"1","SpieleUnentschiedenA":"0","SpieleVerloren":"3","SpieleVerlorenH":"0","SpieleVerlorenA":"3","PlusToreH":"140","PlusToreA":"108","PlusTore":"248","MinusToreH":"109","MinusToreA":"115","MinusTore":"224","DiffToreH":"31","DiffToreA":"-7","DiffTore":"24","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"5","PlatzSort":"5","PlatzVorwocheSort":"7","PlatzVorwoche":"7","Team_Kurzname":"TSV Schwabm\u00fcnch.","PlusPunkte":"9","PlusPunkteH":"4","PlusPunkteA":"5","MinusPunkte":"7","MinusPunkteH":"2","MinusPunkteA":"5","Spiele":"8","SpieleH":"3","SpieleA":"5","SpieleGewonnen":"4","SpieleGewonnenH":"2","SpieleGewonnenA":"2","SpieleUnentschieden":"1","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"1","SpieleVerloren":"3","SpieleVerlorenH":"1","SpieleVerlorenA":"2","PlusToreH":"82","PlusToreA":"142","PlusTore":"224","MinusToreH":"81","MinusToreA":"138","MinusTore":"219","DiffToreH":"1","DiffToreA":"4","DiffTore":"5","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"6","PlatzSort":"6","PlatzVorwocheSort":"8","PlatzVorwoche":"8","Team_Kurzname":"SC Kissing","PlusPunkte":"9","PlusPunkteH":"5","PlusPunkteA":"4","MinusPunkte":"7","MinusPunkteH":"3","MinusPunkteA":"4","Spiele":"8","SpieleH":"4","SpieleA":"4","SpieleGewonnen":"4","SpieleGewonnenH":"2","SpieleGewonnenA":"2","SpieleUnentschieden":"1","SpieleUnentschiedenH":"1","SpieleUnentschiedenA":"0","SpieleVerloren":"3","SpieleVerlorenH":"1","SpieleVerlorenA":"2","PlusToreH":"121","PlusToreA":"108","PlusTore":"229","MinusToreH":"112","MinusToreA":"118","MinusTore":"230","DiffToreH":"9","DiffToreA":"-10","DiffTore":"-1","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"7","PlatzSort":"7","PlatzVorwocheSort":"10","PlatzVorwoche":"10","Team_Kurzname":"TSV Trudering","PlusPunkte":"8","PlusPunkteH":"4","PlusPunkteA":"4","MinusPunkte":"8","MinusPunkteH":"6","MinusPunkteA":"2","Spiele":"8","SpieleH":"5","SpieleA":"3","SpieleGewonnen":"4","SpieleGewonnenH":"2","SpieleGewonnenA":"2","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"4","SpieleVerlorenH":"3","SpieleVerlorenA":"1","PlusToreH":"145","PlusToreA":"95","PlusTore":"240","MinusToreH":"136","MinusToreA":"91","MinusTore":"227","DiffToreH":"9","DiffToreA":"4","DiffTore":"13","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"8","PlatzSort":"8","PlatzVorwocheSort":"5","PlatzVorwoche":"5","Team_Kurzname":"TSV Allach","PlusPunkte":"8","PlusPunkteH":"4","PlusPunkteA":"4","MinusPunkte":"8","MinusPunkteH":"4","MinusPunkteA":"4","Spiele":"8","SpieleH":"4","SpieleA":"4","SpieleGewonnen":"4","SpieleGewonnenH":"2","SpieleGewonnenA":"2","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"4","SpieleVerlorenH":"2","SpieleVerlorenA":"2","PlusToreH":"114","PlusToreA":"98","PlusTore":"212","MinusToreH":"115","MinusToreA":"109","MinusTore":"224","DiffToreH":"-1","DiffToreA":"-11","DiffTore":"-12","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"9","PlatzSort":"9","PlatzVorwocheSort":"12","PlatzVorwoche":"12","Team_Kurzname":"TSV Friedberg II","PlusPunkte":"7","PlusPunkteH":"4","PlusPunkteA":"3","MinusPunkte":"7","MinusPunkteH":"2","MinusPunkteA":"5","Spiele":"7","SpieleH":"3","SpieleA":"4","SpieleGewonnen":"3","SpieleGewonnenH":"2","SpieleGewonnenA":"1","SpieleUnentschieden":"1","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"1","SpieleVerloren":"3","SpieleVerlorenH":"1","SpieleVerlorenA":"2","PlusToreH":"90","PlusToreA":"109","PlusTore":"199","MinusToreH":"93","MinusToreA":"113","MinusTore":"206","DiffToreH":"-3","DiffToreA":"-4","DiffTore":"-7","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"10","PlatzSort":"10","PlatzVorwocheSort":"6","PlatzVorwoche":"6","Team_Kurzname":"TV Memmingen","PlusPunkte":"7","PlusPunkteH":"6","PlusPunkteA":"1","MinusPunkte":"9","MinusPunkteH":"0","MinusPunkteA":"9","Spiele":"8","SpieleH":"3","SpieleA":"5","SpieleGewonnen":"3","SpieleGewonnenH":"3","SpieleGewonnenA":"0","SpieleUnentschieden":"1","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"1","SpieleVerloren":"4","SpieleVerlorenH":"0","SpieleVerlorenA":"4","PlusToreH":"84","PlusToreA":"136","PlusTore":"220","MinusToreH":"76","MinusToreA":"161","MinusTore":"237","DiffToreH":"8","DiffToreA":"-25","DiffTore":"-17","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"11","PlatzSort":"11","PlatzVorwocheSort":"9","PlatzVorwoche":"9","Team_Kurzname":"TV Immenstadt","PlusPunkte":"6","PlusPunkteH":"4","PlusPunkteA":"2","MinusPunkte":"10","MinusPunkteH":"4","MinusPunkteA":"6","Spiele":"8","SpieleH":"4","SpieleA":"4","SpieleGewonnen":"3","SpieleGewonnenH":"2","SpieleGewonnenA":"1","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"5","SpieleVerlorenH":"2","SpieleVerlorenA":"3","PlusToreH":"111","PlusToreA":"104","PlusTore":"215","MinusToreH":"105","MinusToreA":"105","MinusTore":"210","DiffToreH":"6","DiffToreA":"-1","DiffTore":"5","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"12","PlatzSort":"12","PlatzVorwocheSort":"11","PlatzVorwoche":"11","Team_Kurzname":"TuS F\u00fcrstenfbr. II","PlusPunkte":"6","PlusPunkteH":"4","PlusPunkteA":"2","MinusPunkte":"8","MinusPunkteH":"2","MinusPunkteA":"6","Spiele":"7","SpieleH":"3","SpieleA":"4","SpieleGewonnen":"3","SpieleGewonnenH":"2","SpieleGewonnenA":"1","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"4","SpieleVerlorenH":"1","SpieleVerlorenA":"3","PlusToreH":"79","PlusToreA":"101","PlusTore":"180","MinusToreH":"62","MinusToreA":"116","MinusTore":"178","DiffToreH":"17","DiffToreA":"-15","DiffTore":"2","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"13","PlatzSort":"13","PlatzVorwocheSort":"13","PlatzVorwoche":"13","Team_Kurzname":"TSV Landsberg","PlusPunkte":"1","PlusPunkteH":"1","PlusPunkteA":"0","MinusPunkte":"13","MinusPunkteH":"9","MinusPunkteA":"4","Spiele":"7","SpieleH":"5","SpieleA":"2","SpieleGewonnen":"0","SpieleGewonnenH":"0","SpieleGewonnenA":"0","SpieleUnentschieden":"1","SpieleUnentschiedenH":"1","SpieleUnentschiedenA":"0","SpieleVerloren":"6","SpieleVerlorenH":"4","SpieleVerlorenA":"2","PlusToreH":"114","PlusToreA":"43","PlusTore":"157","MinusToreH":"143","MinusToreA":"62","MinusTore":"205","DiffToreH":"-29","DiffToreA":"-19","DiffTore":"-48","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"},{"Platz":"14","PlatzSort":"14","PlatzVorwocheSort":"14","PlatzVorwoche":"14","Team_Kurzname":"TSV Indersdorf","PlusPunkte":"0","PlusPunkteH":"0","PlusPunkteA":"0","MinusPunkte":"14","MinusPunkteH":"6","MinusPunkteA":"8","Spiele":"7","SpieleH":"3","SpieleA":"4","SpieleGewonnen":"0","SpieleGewonnenH":"0","SpieleGewonnenA":"0","SpieleUnentschieden":"0","SpieleUnentschiedenH":"0","SpieleUnentschiedenA":"0","SpieleVerloren":"7","SpieleVerlorenH":"3","SpieleVerlorenA":"4","PlusToreH":"81","PlusToreA":"98","PlusTore":"179","MinusToreH":"94","MinusToreA":"131","MinusTore":"225","DiffToreH":"-13","DiffToreA":"-33","DiffTore":"-46","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd"}],"kommende_Spiele":[{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T17:15:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011856","HeimTeam_Name_lang":"TuS F\u00fcrstenfbr. II","HeimTeam_Name_kurz":"TuS F\u00fcrstenfbr. II","Heim_ak":"false","GastTeam_Name_lang":"TSV Landsberg","GastTeam_Name_kurz":"TSV Landsberg","Gast_ak":"false","Halle_Nummer":"270009","Halle_Name_lang":"Wittelsbacher-Halle","Halle_Name_kurz":"F\u00fcrstenfeldbruck, Wittelsbacher","Halle_Kuerzel":"AV_FUR1","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T17:30:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011857","HeimTeam_Name_lang":"TSV Friedberg II","HeimTeam_Name_kurz":"TSV Friedberg II","Heim_ak":"false","GastTeam_Name_lang":"SC Kissing","GastTeam_Name_kurz":"SC Kissing","Gast_ak":"false","Halle_Nummer":"250133","Halle_Name_lang":"Sporthalle des TSV Friedberg","Halle_Name_kurz":"Sporthalle des TSV Friedberg","Halle_Kuerzel":"TSV_FDB","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T18:15:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011858","HeimTeam_Name_lang":"TSV Unterhaching","HeimTeam_Name_kurz":"TSV Unterhaching","Heim_ak":"false","GastTeam_Name_lang":"TSV Indersdorf","GastTeam_Name_kurz":"TSV Indersdorf","Gast_ak":"false","Halle_Nummer":"280161","Halle_Name_lang":"Hachinga-Halle Unterhaching","Halle_Name_kurz":"Hachinga-Halle Unterhaching","Halle_Kuerzel":"HACHHA","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T19:30:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011859","HeimTeam_Name_lang":"TV Memmingen","HeimTeam_Name_kurz":"TV Memmingen","Heim_ak":"false","GastTeam_Name_lang":"TSV Allach","GastTeam_Name_kurz":"TSV Allach","Gast_ak":"false","Halle_Nummer":"270031","Halle_Name_lang":"Sporthalle 1 Berufsbildungszentrum","Halle_Name_kurz":"Memmingen, BSZ 1","Halle_Kuerzel":"AV_MEM1","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T19:30:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011860","HeimTeam_Name_lang":"TSV Niederraunau","HeimTeam_Name_kurz":"TSV Niederraunau","Heim_ak":"false","GastTeam_Name_lang":"TSV Ismaning","GastTeam_Name_kurz":"TSV Ismaning","Gast_ak":"false","Halle_Nummer":"250211","Halle_Name_lang":"Halle Schulzentrum Krumbach","Halle_Name_kurz":"Halle Schulzentrum Krumbach","Halle_Kuerzel":"SZ_ KRU","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-12T20:00:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.12","Spielnummer":"20011861","HeimTeam_Name_lang":"TSV Schwabm\u00fcnch.","HeimTeam_Name_kurz":"TSV Schwabm\u00fcnch.","Heim_ak":"false","GastTeam_Name_lang":"Eichenauer SV","GastTeam_Name_kurz":"Eichenauer SV","Gast_ak":"false","Halle_Nummer":"250132","Halle_Name_lang":"Halle Grundschule Schwabm.","Halle_Name_kurz":"Grundschule Schwabm\u00fcnchen","Halle_Kuerzel":"GS_SM\u00dc","Anzahl_Verlegungen":"1","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"},{"Liga_Nummer":"20011800","Liga_Name_kurz":"M\u00c4_LL_S","Liga_Name_lang":"Landesliga M\u00e4nner S\u00fcd","Liga_Reihenfolge":"0","PlanEndgueltig":"true","PlanErzeugt":"true","Verwaltung":"1049.0103020000000000","Spieldatum":"2011-11-13T16:30:00+01:00","Spieltag":"9","SpieldatumTag":"2011.11.13","Spielnummer":"20011862","HeimTeam_Name_lang":"TV Immenstadt","HeimTeam_Name_kurz":"TV Immenstadt","Heim_ak":"false","GastTeam_Name_lang":"TSV Trudering","GastTeam_Name_kurz":"TSV Trudering","Gast_ak":"false","Halle_Nummer":"270022","Halle_Name_lang":"Julius-Kunert-Halle","Halle_Name_kurz":"Immenstadt, Julius-Kunert","Halle_Kuerzel":"AV_IMM","Anzahl_Verlegungen":"0","Abgesetzt":"false","Vereinsfreigabe":"false","Heim":{},"Gast":{},"ErgebnisBestaetigt":"false"}]})

TommyMaintz
6 Jan 2012, 9:43 AM
Are you parsing the callback parameter sent from the client side in your server side code? The response should be Ext.data.JsonP.callback1({...}); Something on your server side is stripping out the dots. Looking at the url you supplied in the initial post, it looks like the correct callback is being passed to the server. This has to be something on the server side that is handling this callback wrongly. Maybe in Touch 1.1 the callback used to have no dots in it, which is why it worked. Make sure your code on the server side is not stripping these dots and let us know when you still experience issues.

wiggerl3000
6 Jan 2012, 9:47 AM
Hi Tommy,
thanks for your reply. You`re right it was a fault caused by my server that stripped the dots.
Now it works. Thanks

TommyMaintz
6 Jan 2012, 9:55 AM
Great! I'm closing this issue.