Giter VIP home page Giter VIP logo

Comments (3)

johannesjo avatar johannesjo commented on June 3, 2024 1

Thank you! The case you're describing should be fixed with the next release. The data repair script might need two attempts for everything to be fixed, but I am alright with it, since normally this shouldn't occur :)

from super-productivity.

github-actions avatar github-actions commented on June 3, 2024

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!

from super-productivity.

KatrinIhler avatar KatrinIhler commented on June 3, 2024

Update: Managed to reproduce! 🎉 Creating a task with multiple projects with sometask +project1 project2 leads to "Inconsistent task projectId" error when closing and opening SP. The repair attempt then actually fails with another error:

Stacktrace

_resetEntityIdsFromObjects (webpack:///src/app/core/data-repair/data-repair.util.ts:229:16)
_fixEntityStates (webpack:///src/app/core/data-repair/data-repair.util.ts:44:16)
_fixEntityStates (webpack:///src/app/core/data-repair/data-repair.util.ts:43:20)
isDataRepairPossible (webpack:///src/app/core/data-repair/data-repair.util.ts:21:29)
constructor (webpack:///src/app/core/data-repair/data-repair.service.ts:16:22)
this._dataRepairService.isRepairPossibleAndConfirmed (webpack:///src/app/core/data-init/data-init.service.ts:52:50)
constructor (webpack:///src/app/core/data-init/data-init.service.ts:45:39)

Meta Info

META: SP7.16.0 Electron – en-US – Linux x86_64 – Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/7.16.0 Chrome/114.0.5735.289 Electron/25.9.0 Safari/537.36

Actions Before Error

1703169755981: [Layout] Hide Notes 
1703169759966: [Task] Update Task 
1703169759967: [Persistence] Save to DB 
1703169760056: [Layout] Show AddTaskBar 
1703169763266: [Task][Issue] Add Task 
1703169763267: [Persistence] Save to DB (2) 
1703169764826: [Layout] Hide AddTaskBar 
1703169768769: [Task] Update Task 
1703169768770: [Persistence] Save to DB 
1703169768836: [Layout] Show AddTaskBar 
1703169783411: [Task][Issue] Add Task 
1703169783413: [Persistence] Save to DB (2) 
1703169783413: [Task] Update Task 
1703169783414: [Task] Move tasks to other project 
1703169783415: [Task] Update Task Tags 
1703169783416: [Persistence] Save to DB (5) 
1703169784594: [Layout] Hide AddTaskBar 
1703169787386: [Task] Update Task Tags 
1703169787388: [Persistence] Save to DB (2) 
1703169840214: [Task] Update Task 
1703169840216: [Persistence] Save to DB 
1703169840216: [Task] Update Task 
1703169840219: [Task] Move tasks to other project 
1703169840222: [Persistence] Save to DB 
1703169840222: [Task] Update Task 
1703169840223: [Task] Move tasks to other project 
1703169840226: [Persistence] Save to DB (5) 
1703169843797: [Task] UnsetCurrentTask 
1703169843798: [SimpleCounter] Turn off all simple counters 
1703169849598: [FocusMode] Set focus session elapsed time

Obviously not something you should do anyway, but recovering from this is not so nice. :D Thank god I exported my data before trying this...

from super-productivity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.