RoyaleAPI / cr-api-ux

User Experience and content issue tracker for RoyaleAPI website.
https://royaleapi.com
21 stars 16 forks source link

Royale api bug in war analytics #522

Closed aaavas closed 4 years ago

aaavas commented 4 years ago

Issue Report:

  1. Did you encounter this recently, or has this bug always been there?
  2. Expected behaviour:
  3. Console logs (if applicable):
  4. Screenshots (if applicable):

I was trying to check out war analytics for our clan today, I had never encountered such response. I was expecting for beautiful sorted database to use for my clan, but sorting did not work (problems with database? sql?) ([https://royaleapi.com/clan/R2Y9P2/war/analytics])

CONSOLE LOG: GET https://cdn.intergi.com/hera/tyche.js net::ERR_BLOCKED_BY_CLIENT analytics:3954 GET https://royaleapi.com/static/js/ga_events.js?t=1529143287.2917688 net::ERR_BLOCKED_BY_CLIENT analytics:3958 GET https://royaleapi.com/static/js/ads.js?t=1541151327.579981 net::ERR_BLOCKED_BY_CLIENT analytics:3988 GET https://royaleapi.com/static/js/clan_war_analytics.js?t=1547027536.0723083 net::ERR_BLOCKED_BY_CLIENT jquery-3.1.1.min.js:2 jQuery.Deferred exception: initAnalytics is not defined ReferenceError: initAnalytics is not defined at HTMLDocument. (https://royaleapi.com/clan/R2Y9P2/war/analytics:3991:9) at j (https://code.jquery.com/jquery-3.1.1.min.js:2:29948) at k (https://code.jquery.com/jquery-3.1.1.min.js:2:30262) at nrWrapper (https://royaleapi.com/static/js/newrelic/newrelic_royaleapi-web.js?t=1563293251.710593:1:18437) undefined r.Deferred.exceptionHook @ jquery-3.1.1.min.js:2 k @ jquery-3.1.1.min.js:2 nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 setTimeout (async) nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 (anonymous) @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 fire @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 ready @ jquery-3.1.1.min.js:2 R @ jquery-3.1.1.min.js:3 newrelic_royaleapi-web.js?t=1563293251.710593:1 Uncaught ReferenceError: initAnalytics is not defined at HTMLDocument. (analytics:3991) at j (jquery-3.1.1.min.js:2) at k (jquery-3.1.1.min.js:2) at nrWrapper (newrelic_royaleapi-web.js?t=1563293251.710593:1) (anonymous) @ analytics:3991 j @ jquery-3.1.1.min.js:2 k @ jquery-3.1.1.min.js:2 nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 setTimeout (async) nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 r.readyException @ jquery-3.1.1.min.js:2 (anonymous) @ jquery-3.1.1.min.js:2 j @ jquery-3.1.1.min.js:2 k @ jquery-3.1.1.min.js:2 nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 setTimeout (async) nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 (anonymous) @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 fire @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 k @ jquery-3.1.1.min.js:2 nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 setTimeout (async) nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 (anonymous) @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 fire @ jquery-3.1.1.min.js:2 i @ jquery-3.1.1.min.js:2 fireWith @ jquery-3.1.1.min.js:2 ready @ jquery-3.1.1.min.js:2 R @ jquery-3.1.1.min.js:3 newrelic_royaleapi-web.js?t=1563293251.710593:1 GET https://js-agent.newrelic.com/nr-spa-1123.min.js net::ERR_BLOCKED_BY_CLIENT nrWrapper @ newrelic_royaleapi-web.js?t=1563293251.710593:1 r @ newrelic_royaleapi-web.js?t=1563293251.710593:1 load (async) __nr_require.loader @ newrelic_royaleapi-web.js?t=1563293251.710593:1 r @ newrelic_royaleapi-web.js?t=1563293251.710593:1 __nr_require.1 @ newrelic_royaleapi-web.js?t=1563293251.710593:1 (anonymous) @ newrelic_royaleapi-web.js?t=1563293251.710593:1

Server does not let me look for any sorted data.

smlbiobot commented 4 years ago

What did you click to get there? Your URL has an additional character that shouldn’t be there:

https://royaleapi.com/clan/R2Y9P2/war/analytics

smlbiobot commented 4 years ago

If sorting doesn’t work, try disabling all of your browser add-ons and try again. If that works, that means that some of your add-ons / extensions is preventing the page from being rendered properly.

aaavas commented 4 years ago

Disabling browser add-ons (adblocker) worked for me. Thank you!