Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug-Sammlung T-Pak 5.0.0 #93

Open
25 of 27 tasks
andreasrueedlinger opened this issue Nov 3, 2018 · 13 comments
Open
25 of 27 tasks

Bug-Sammlung T-Pak 5.0.0 #93

andreasrueedlinger opened this issue Nov 3, 2018 · 13 comments

Comments

@andreasrueedlinger
Copy link
Collaborator

andreasrueedlinger commented Nov 3, 2018

Patch 5.0.1

  • Registrieren/Aktivieren Labels bei Registrierung sind bei den Buttons vertauscht
  • mark as read bei access notifications funktioniert nicht
  • betreuer: eigene ansicht auf dashboard auch wenn kein athlet!
  • IE11 Bug: Login Dialog wird nicht geöffnet, Error: StaticInjectorError[n -> function(){this.role=\"dialog....
  • IE11 unterstützt [].includes nicht
  • keine Statistiken anfragen wenn kein Athlet ausgewählt ist, siehe Bug [2018-11-04T00:16:48.390] [ERROR] default
  • Jemand hat es geschafft, Einheitenteile doppelt hinzuzufügen. Wie schafft man das bzw. was haben wir nicht abgefangen? Da nicht reproduzierbar bei mir, habe ich einen "Fix-guess" eingecheckt.
  • Trainings mit Einheit können nicht gelöscht werden, wenn ein Teilnehmer Einheit manuell bearbeitet hat. Auf prod gefixt mit ON DELETE SET NULL auf foreign key. TODO: als migration dokumentieren
  • Speichern Buttons können zweimal hintereinander gedrückt werden => meist Fehler wegen Duplicate entry oder halt 2 Trainings. Lösung: button disabeln während speichern
  • Fehler Tageswerte laden wenn Trainingseinheit invalid date hat, siehe [2018-11-04T21:49:18.607] [ERROR] default
  • Kontaktformular Label success fehlt und form reset nach submit
  • Fragment scroll error, [2018-11-03T20:11:49.626] [ERROR] client
  • check for undefined life parameters in getUnits, [2018-11-04T20:21:39.361] [ERROR] client

Patch 5.0.2

  • logout auf user settings page fürht zu userRelations = null und Fehler
  • Monatszyklus angewählt in Statistik, Wechsel zu männlich führt zu Fehler
  • Cannot read property 'icon' of null??
  • IE Meldung: not fully supported!
  • loading undefined user in analysis
  • Einheitenteile/Trainingsarten von früher werden nicht mehr unterstützt bzw. nicht angezeigt in Statistik (va. Kraft, da dort viele Einheitenteile entfernt wurden)
  • Geplantes Training von angemeldetem Training verschwindet nach einige Tagen

Patch 5.0.3

  • Sidenav in Safari (Athleten Auswahl, etc.) oberster Teil unter Balken versteckt
  • Error wenn keine Anmeldeart ausgewählt
  • event entries edit bug wenn default status gesetzt
  • fix bug wenn athlete in analysis/diary preferences, auf den kein Zugriff mehr

Patch 5.0.4

@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 4, 2018

Häufig auftretend, wenn Browser html Cached und alte Files laden will:

[2018-11-03T19:29:07.555] [ERROR] client - {
  "errorMessage": "{ [Error: Loading chunk 5 failed.\n(error: https://www.t-pak.ch/5.c8453bb81d5ec2be5dd4.js)]\n  type: 'error',\n  request: 'https://www.t-pak.ch/5.c8453bb81d5ec2be5dd4.js' }",
  "url": "/main",
  "userState": {
    "loggedIn": false
  }
}

@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 4, 2018

Versuch von Matthias Birrer automatisch auf die T-Pak Daten zuzugreifen:

[2018-11-04T09:04:13.714] [ERROR] default - {
  "error": {
    "fields": {
      "user": {
        "message": "invalid float number",
        "value": ""
      }
    },
    "message": "An error occurred during the request.",
    "name": "ValidateError",
    "status": 400
  },
  "request": {
    "method": "GET",
    "url": "/activities/2018-11-03%2008:04:16%20UTC/2018-11-04?user=&X-Auth-Token=*****",
    "headers": {
      "host": "localhost:63717",
      "accept-encoding": "gzip,deflate,identity",
      "accept": "*/*",
      "user-agent": "Mechanize/2.7.6 Ruby/2.5.1p57 (http://github.com/sparklemotion/mechanize/)",
      "accept-charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
      "accept-language": "en-us,en;q=0.5",
      "x-forwarded-proto": "https",
      "x-forwarded-https": "on",
      "x-forwarded-port": "443",
      "x-ssl-cipher": "TLSv1.2/DHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=DH       Au=RSA  Enc=AESGCM(256) Mac=AEAD",
      "x-forwarded-for": "178.38.77.200, 178.38.77.200",
      "x-forwarded-host": "www.t-pak.ch",
      "x-forwarded-server": "tpak.rasalhague.uberspace.de",
      "connection": "Keep-Alive"
    },
    "trailers": {},
    "params": {},
    "query": {
      "user": "",
      "X-Auth-Token": "*****"
    },
    "body": {},
    "httpVersion": "1.1",
    "ip": "::1",
    "protocol": "http",
    "secure": false,
    "xhr": false,
    "hostname": "localhost",
    "originalUrl": "/activities/2018-11-03%2008:04:16%20UTC/2018-11-04?user=&X-Auth-Token=****"
  }
}

Auth tokens entfernt

@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 4, 2018

???

[2018-11-04T22:08:21.314] [ERROR] default - {
  "error": {
    "message": "ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction",
    "name": "QueryFailedError",
    "status": 500,
    "stack": "QueryFailedError: ER_LOCK_WAIT_TIMEOUT: Lock wait timeout exceeded; try restarting transaction\n    at new QueryFailedError (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/typeorm/error/QueryFailedError.js:27:28)\n    at Query._callback (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:223:45)\n    at Query.Sequence.end (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/protocol/sequences/Sequence.js:88:24)\n    at Query.ErrorPacket (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/protocol/sequences/Query.js:90:8)\n    at Protocol._parsePacket (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/protocol/Protocol.js:279:23)\n    at Parser.write (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/protocol/Parser.js:76:12)\n    at Protocol.write (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/protocol/Protocol.js:39:16)\n    at Socket.<anonymous> (/var/www/virtual/tpak/apps/tpak-prod/20181103_154719/server/node_modules/mysql/lib/Connection.js:103:28)\n    at emitOne (events.js:116:13)\n    at Socket.emit (events.js:211:7)"
  },
  "request": {
    "method": "PUT",
    "url": "/activities/1022385",
    "headers": {
      "host": "localhost:63717",
      "content-type": "application/json",
      "origin": "https://www.t-pak.ch",
      "x-auth-token": "*****",
      "accept-encoding": "gzip, deflate",
      "accept": "application/json, text/plain, */*",
      "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.1 Safari/605.1.15",
      "referer": "https://www.t-pak.ch/training/activity/edit/1022385/form",
      "accept-language": "de-ch",
      "x-forwarded-proto": "https",
      "x-forwarded-https": "on",
      "x-forwarded-port": "443",
      "x-ssl-cipher": "TLSv1.2/ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AESGCM(256) Mac=AEAD",
      "x-forwarded-for": "185.74.125.39, 185.74.125.39",
      "x-forwarded-host": "www.t-pak.ch",
      "x-forwarded-server": "tpak.rasalhague.uberspace.de",
      "connection": "Keep-Alive",
      "content-length": "337"
    },
    "trailers": {},
    "params": {},
    "query": {},
    "body": {
      "id": 1022385,
      "activityDetails": [],
      "activityTypeId": 25,
      "completed": true,
      "date": "2018-01-02",
      "duration": 80,
      "intensityRanges": [
        {
          "intensityRangeId": 5,
          "duration": 80
        }
      ],
      "isTemplate": false,
      "nextId": 1022386,
      "parameters": [],
      "planned": false,
      "previousId": 1022384,
      "subActivities": [
        {
          "subActivityTypeId": 25,
          "duration": 80
        }
      ],
      "userId": 2129,
      "title": "NWK"
    },
    "httpVersion": "1.1",
    "ip": "::1",
    "protocol": "http",
    "secure": false,
    "xhr": false,
    "hostname": "localhost",
    "originalUrl": "/activities/1022385",
    "session": {
      "token": "*****",
      "expirationDate": "2018-12-04T21:07:30.643Z",
      "longSession": true,
      "created": "2018-11-04T20:09:42.000Z",
      "user": ****
    }
  }
}

Token und User entfernt

@andreasrueedlinger
Copy link
Collaborator Author

@jeggi87 bitte keine Supportanfragen hier. Und keine persönlichen Daten, dieser Teil von github ist öffentlich!

Repository owner deleted a comment from jeggi87 Nov 7, 2018
Repository owner deleted a comment from jeggi87 Nov 7, 2018
Repository owner deleted a comment from jeggi87 Nov 7, 2018
Repository owner deleted a comment from jeggi87 Nov 7, 2018
@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 8, 2018

[2018-11-06T17:45:33.893] [ERROR] client - {
  "errorMessage": "{ [TypeError: undefined is not an object (evaluating 'fl(t=this._element,\"\").trim')]\n  line: 1,\n  column: 2700152,\n  sourceURL: 'https://www.t-pak.ch/main.9fc13e492f424f94dc32.js' }",
  "url": "/main",
  "userState": {
    "loggedIn": false
  }
}

Ursache: angular/angular#24094

Wohl auch:

[2018-11-12T07:00:51.021] [ERROR] client - {
  "error": {
    "errorMessage": "[TypeError: Cannot call method 'trim' of undefined]",
    "url": "/main",
    "userState": {
      "loggedIn": false
    }
  },

@andreasrueedlinger
Copy link
Collaborator Author

Unklar:

[2018-11-06T17:55:12.651] [ERROR] client - {
  "errorMessage": "[TypeError: Unable to get property 'userId' of undefined or null reference]",
  "url": "/training/diary/list/month/today",
  "userState": {
    "loggedIn": true,
    "userId": 466
  }
}

@andreasrueedlinger
Copy link
Collaborator Author

[2018-11-08T19:37:34.011] [ERROR] client - {
  "error": {
    "errorMessage": "[TypeError: Cannot read property 'type' of null]",
    "url": "/main",
    "userState": {
      "loggedIn": false
    }
  },

@andreasrueedlinger
Copy link
Collaborator Author

[2018-11-07T15:45:01.500] [ERROR] client - {
  "errorMessage": "[TypeError: undefined is not a function]",
  "url": "/dashboard",
  "userState": {
    "loggedIn": true,
    "userId": 2154
  }
}

@andreasrueedlinger
Copy link
Collaborator Author

[2018-11-10T08:32:18.701] [ERROR] client - {
  "error": {
    "errorMessage": "[TypeError: Cannot read property 'length' of undefined]",
    "url": "/main",
    "userState": {
      "loggedIn": false
    }
  },

Repository owner deleted a comment from jeggi87 Nov 10, 2018
@andreasrueedlinger
Copy link
Collaborator Author

[2018-11-11T11:10:28.090] [ERROR] client - {
  "error": {
    "errorMessage": "{ headers: { normalizedNames: {}, lazyUpdate: null, headers: {} },\n  status: 0,\n  statusText: 'Unknown Error',\n  url: null,\n  ok: false,\n  name: 'HttpErrorResponse',\n  message: 'Http failure response for (unknown url): 0 Unknown Error',\n  error: { isTrusted: [Getter] } }",
    "url": "/analysis",
    "userState": {
      "loggedIn": true,
      "userId": 967
    }
  },

@andreasrueedlinger
Copy link
Collaborator Author

[2018-11-11T19:40:34.072] [ERROR] client - {
  "error": {
    "errorMessage": "[TypeError: Cannot read property 'focus' of undefined]",
    "url": "/training/diary/list/week/today",
    "userState": {
      "loggedIn": true,
      "userId": 722
    }
  },

@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 13, 2018

[2018-11-12T07:53:02.610] [ERROR] client - {
  "error": {
    "errorMessage": "{ [Error: Uncaught (in promise): EmptyError: no elements in sequence]\n  rejection: [EmptyError: no elements in sequence],\n  promise: \n   { __zone_symbol__state: 0,\n     __zone_symbol__value: [EmptyError: no elements in sequence] },\n  zone: \n   { _properties: { isAngularZone: true },\n     _parent: \n      { _properties: {},\n        _parent: null,\n        _name: '<root>',\n        _zoneDelegate: [Object] },\n     _name: 'angular',\n     _zoneDelegate: \n      { _taskCounts: [Object],\n        zone: [Circular],\n        _parentDelegate: [Object],\n        _forkZS: null,\n        _forkDlgt: null,\n        _forkCurrZone: [Object],\n        _interceptZS: null,\n        _interceptDlgt: null,\n        _interceptCurrZone: [Object],\n        _invokeZS: [Object],\n        _invokeDlgt: [Object],\n        _invokeCurrZone: [Circular],\n        _handleErrorZS: [Object],\n        _handleErrorDlgt: [Object],\n        _handleErrorCurrZone: [Circular],\n        _scheduleTaskZS: [Object],\n        _scheduleTaskDlgt: [Object],\n        _scheduleTaskCurrZone: [Circular],\n        _invokeTaskZS: [Object],\n        _invokeTaskDlgt: [Object],\n        _invokeTaskCurrZone: [Circular],\n        _cancelTaskZS: [Object],\n        _cancelTaskDlgt: [Object],\n        _cancelTaskCurrZone: [Circular],\n        _hasTaskZS: [Object],\n        _hasTaskDlgt: [Object],\n        _hasTaskDlgtOwner: [Circular],\n        _hasTaskCurrZone: [Circular] } },\n  task: \n   { _zone: \n      { _properties: [Object],\n        _parent: [Object],\n        _name: 'angular',\n        _zoneDelegate: [Object] },\n     runCount: 0,\n     _zoneDelegates: null,\n     _state: 'notScheduled',\n     type: 'microTask',\n     source: 'Promise.then',\n     data: \n      { __zone_symbol__state: 0,\n        __zone_symbol__value: [EmptyError: no elements in sequence] },\n     scheduleFn: undefined,\n     cancelFn: null,\n     callback: [Function],\n     invoke: [Function] } }",
    "url": "/training/diary/list/week/today",
    "userState": {
      "loggedIn": true,
      "userId": 363
    }
  },

Jetzt noch mit stack:

"F@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:13743\nF@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:13293\nhttps://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:14523\nonInvokeTask@https://www.t-pak.ch/main.1c8b59da5d0e0d2c353b.js:1:321858\nrunTask@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:3939\nv@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:10977\ninvokeTask@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:9865\ny@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:20762\nb@https://www.t-pak.ch/polyfills.161e36abf3ce8f3832bb.js:1:20987"

@andreasrueedlinger
Copy link
Collaborator Author

andreasrueedlinger commented Nov 13, 2018

angular/zone.js#1078

[2018-11-12T20:34:11.660] [ERROR] client - {
  "error": {
    "errorMessage": "[TypeError: Property '__zone_symbol__then' of object [object Promise] is not a function]",
    "url": "/communication/trainings/9496",
    "userState": {
      "loggedIn": false
    }
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant