minj / foxtrick

FoxTrick is a browser extension for the Hattrick online football manager game, currently available for Firefox, Google Chrome, as well as for Opera.
https://www.foxtrick.org
GNU General Public License v3.0
71 stars 49 forks source link

Trainer link does not work for bot teams #1253

Closed minj closed 9 years ago

minj commented 9 years ago

Original issue 1253 created by stefan.schuurman on 2014-11-10T22:15:40.000Z:

What steps will reproduce the problem? -> Go to a bot team teampage and press the Trainer link in the left menu

What is the expected behaviour? What is the actual behaviour instead? You could provide a screenshot if necessary. -> Expected: go to the trainer (or do not show the link if there is no trainer) -> crash

What is the version of the FoxTrick, your browser and operating system? Foxtrick 0.14.0.3 / Win7 / Firefox 33.1

Copy FoxTrick debug output on the page here (Enable debug output at main preferences tab of FoxTrick) Version 0.14.0.3 release mozilla, Gecko Firefox platform, nl locale, standard layout, LTR direction can't access dead object chrome://foxtrick/content/pages/all.js: 61 Stack trace: chrome://foxtrick/content/pages/all.js:61:8 Foxtrick.Pages.Players.isOwnPlayersPage@chrome://foxtrick/content/pages/players.js:34:16 Foxtrick.Pages.Players.getPlayerList/parseHtml@chrome://foxtrick/content/pages/players.js:519:16 Foxtrick.Pages.Players.getPlayerList/</<@chrome://foxtrick/content/pages/players.js:942:8 Foxtrick.util.api.retrieve/safeCallback@chrome://foxtrick/content/util/api.js:221:6 Foxtrick.util.api.retrieve/</</process_queued@chrome://foxtrick/content/util/api.js:315:8 Foxtrick.util.api.retrieve/</</<@chrome://foxtrick/content/util/api.js:366:9 Foxtrick.util.load.xml/<@chrome://foxtrick/content/util/load.js:240:3 Foxtrick.util.load.async/req.onloadend@chrome://foxtrick/content/util/load.js:170:5

can't access dead object chrome://foxtrick/content/util/log.js: 177 Stack trace: chrome://foxtrick/content/util/log.js:177:1 Foxtrick.log@chrome://foxtrick/content/util/log.js:65:2 Foxtrick.Pages.All.getTeamId@chrome://foxtrick/content/pages/all.js:70:4 Foxtrick.Pages.Players.isOwnPlayersPage@chrome://foxtrick/content/pages/players.js:34:16 Foxtrick.Pages.Players.getPlayerList/parseHtml@chrome://foxtrick/content/pages/players.js:519:16 Foxtrick.Pages.Players.getPlayerList/</<@chrome://foxtrick/content/pages/players.js:942:8 Foxtrick.util.api.retrieve/safeCallback@chrome://foxtrick/content/util/api.js:221:6 Foxtrick.util.api.retrieve/</</process_queued@chrome://foxtrick/content/util/api.js:315:8 Foxtrick.util.api.retrieve/</</<@chrome://foxtrick/content/util/api.js:366:9 Foxtrick.util.load.xml/<@chrome://foxtrick/content/util/load.js:240:3 Foxtrick.util.load.async/req.onloadend@chrome://foxtrick/content/util/load.js:170:5

ApiProxy: uncaught callback error: can't access dead object chrome://foxtrick/content/util/log.js: 177 Stack trace: chrome://foxtrick/content/util/log.js:177:1 Foxtrick.log@chrome://foxtrick/content/util/log.js:65:2 Foxtrick.Pages.Players.getPlayerList/</<@chrome://foxtrick/content/pages/players.js:948:7 Foxtrick.util.api.retrieve/safeCallback@chrome://foxtrick/content/util/api.js:221:6 Foxtrick.util.api.retrieve/</</process_queued@chrome://foxtrick/content/util/api.js:315:8 Foxtrick.util.api.retrieve/</</<@chrome://foxtrick/content/util/api.js:366:9 Foxtrick.util.load.xml/<@chrome://foxtrick/content/util/load.js:240:3 Foxtrick.util.load.async/req.onloadend@chrome://foxtrick/content/util/load.js:170:5 parameters: [["file","players"],["version","2.2"],["teamId",817464],["oauth_consumer_key","sKDixHQBSGgdJ3a9O6lRtL"],["oauth_token","DwfrosLwOUqyEBKr"],["oauth_signature_method","HMAC-SHA1"],["oauth_signature","oj0GYj2xk1AvzdXrrasxNK1nbRQ="],["oauth_timestamp",1415657538],["oauth_nonce","Tx6sda"]] Uncaught callback error: - url: http://chpp.hattrick.org/chppxml.ashx?file=players&amp;version=2.2&amp;teamId=817464&amp;oauth_consumer_key=sKDixHQBSGgdJ3a9O6lRtL&amp;oauth_token=DwfrosLwOUqyEBKr&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_signature=oj0GYj2xk1AvzdXrrasxNK1nbRQ%3D&amp;oauth_timestamp=1415657538&amp;oauth_nonce=Tx6sda params: undefined can't access dead object chrome://foxtrick/content/util/log.js: 177 Stack trace: chrome://foxtrick/content/util/log.js:177:1 Foxtrick.log@chrome://foxtrick/content/util/log.js:65:2 Foxtrick.util.api.retrieve/safeCallback@chrome://foxtrick/content/util/api.js:224:6 Foxtrick.util.api.retrieve/</</process_queued@chrome://foxtrick/content/util/api.js:315:8 Foxtrick.util.api.retrieve/</</<@chrome://foxtrick/content/util/api.js:366:9 Foxtrick.util.load.xml/<@chrome://foxtrick/content/util/load.js:240:3 Foxtrick.util.load.async/req.onloadend@chrome://foxtrick/content/util/load.js:170:5

page run time: 0 ms | /Errors/IncorrectInput.aspx ?Expected=PlayerID

Please provide any additional information below. -> this should do. Thanks to you all!

minj commented 9 years ago

Comment #1 originally posted by minj on 2014-12-11T04:44:12.000Z:

This will be fixed in next release

Status: NeedsFeedback

minj commented 9 years ago

Comment #2 originally posted by minj on 2015-02-07T11:23:39.000Z:

<empty>

Owner: minj

minj commented 9 years ago

closing for 0.15.0