johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.66k stars 753 forks source link

OpenProject subtask converted to task crashes app #3112

Open Sempro97 opened 3 months ago

Sempro97 commented 3 months ago

Steps to Reproduce

  1. Create task of type phase named "parent1" on open project
  2. Sync to app and put on today
  3. Add a subtask called "child1" to "parent1"
  4. Right click on "child1" and select "Convert to parent task"

Error Log (Desktop only)

The app generate the following stacktrace as title for this issue: https://pastebin.com/mXLR01Fa

Console Output

https://pastebin.com/d8vuAhyG

Meta Info

META: SP8.0.1 Electron – en-GB – Win32 – Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/8.0.1 Chrome/120.0.6099.227 Electron/28.2.0 Safari/537.36

Stacktrace

isHandledError (webpack:///src/app/core/error-handler/global-error-handler.class.ts:45:12)
FormlyMaterialModule (webpack:///node_modules/@ngx-formly/material/fesm2015/ngx-formly-material.js:16:6)
invoke (webpack:///node_modules/zone.js/fesm2015/zone.js:372:25)
onInvoke (webpack:///node_modules/@angular/core/fesm2015/core.mjs:26356:32)
invoke (webpack:///node_modules/zone.js/fesm2015/zone.js:371:51)
run (webpack:///node_modules/zone.js/fesm2015/zone.js:134:42)
zone.scheduleMicroTask(source, (webpack:///node_modules/zone.js/fesm2015/zone.js:1275:35)
invokeTask (webpack:///node_modules/zone.js/fesm2015/zone.js:406:30)
onInvokeTask (webpack:///node_modules/@angular/core/fesm2015/core.mjs:26343:32)
scheduleResolveOrReject (webpack:///node_modules/zone.js/fesm2015/zone.js:1211:30)
makeResolver (webpack:///node_modules/zone.js/fesm2015/zone.js:1118:16)
function (webpack:///node_modules/zone.js/fesm2015/zone.js:1134:32)
FormlyMaterialModule (webpack:///node_modules/@ngx-formly/material/fesm2015/ngx-formly-material.js:16:6)
invoke (webpack:///node_modules/zone.js/fesm2015/zone.js:372:25)
onInvoke (webpack:///node_modules/@angular/core/fesm2015/core.mjs:26356:32)
invoke (webpack:///node_modules/zone.js/fesm2015/zone.js:371:51)
run (webpack:///node_modules/zone.js/fesm2015/zone.js:134:42)
zone.scheduleMicroTask(source, (webpack:///node_modules/zone.js/fesm2015/zone.js:1275:35)
invokeTask (webpack:///node_modules/zone.js/fesm2015/zone.js:406:30)

Actions Before Error

1711707653231: [Persistence] Save to DB 
1711707660740: [Task] Update Task Tags 
1711707660741: [Persistence] Save to DB (2) 
1711707661678: [Task] Update Task Tags 
1711707661679: [Persistence] Save to DB (2) 
1711707668172: [Task] Update Task Tags 
1711707668173: [Persistence] Save to DB (2) 
1711707670562: [Task] Update Task Tags 
1711707670563: [Persistence] Save to DB (2) 
1711707675420: [Task] Update Task Tags 
1711707675421: [Persistence] Save to DB (2) 
1711707676945: [Task] Update Task Tags 
1711707676947: [Persistence] Save to DB (2) 
1711707689229: [Task] Convert SubTask to main task 
1711707689231: [Persistence] Save to DB (2) 
1711707695879: [Task] Convert SubTask to main task 
1711707695880: [Persistence] Save to DB (2) 
1711707704260: [Task] Delete Task 
1711707922979: [FocusMode] Set focus session elapsed time 
1711707923256: [SP_ALL] Load(import) all data 
1711707923266: [SP_ALL] All Data was loaded 
1711707947009: [Task] Delete Task 
1711707961441: [FocusMode] Set focus session elapsed time 
1711707961573: [SP_ALL] Load(import) all data 
1711707961577: [SP_ALL] All Data was loaded 
1711707966669: [Task] Add SubTask 
1711707966671: [Persistence] Save to DB 
1711707968113: [Task] Update Task 
1711707968118: [Persistence] Save to DB 
1711708123507: [Task] Delete Task
github-actions[bot] commented 3 months ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

github-actions[bot] commented 3 months ago

Hello there Sempro97! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖