🚨Custom Repeat Error When Setting Repetition Period To Yearly Crashes When I Click Save

by ADMIN 89 views

🚨Custom Repeat Error When Setting Repetition Period To Yearly Crashes When I Click Save

As a user of Super Productivity 12.0.6-rc.4, I was trying to set up annual reminders for important events such as tax returns and birthdays. However, when I attempted to set the repetition period to yearly, the app crashed as soon as I clicked the save button. This issue is not only frustrating but also prevents me from utilizing the app's features effectively. In this article, I will provide a detailed description of the issue, including the steps to reproduce it, console output, and expected behavior.

  • Super Productivity 12.0.6-rc.4
  • Chrome Version 136.0.7103.93 (Official Build) (64-bit)

Ideally, I would like to be able to set up reminders for the same date each year, with an alarm 1 day or week before the event. This would allow me to stay organized and ensure that I never miss an important deadline or event.

When I click the save button after setting the repetition period to yearly, the app crashes. This issue is not only limited to new tasks but also occurs when attempting to repeat a task that has already crashed the system.

Use Case 1

  1. Select a task and navigate to the "Additional Info" section.
  2. Click on the "Repeat" button and select "Custom repeat config".
  3. Choose "Year" as the repeat cycle.
  4. Click the save button.

Use Case 2

  1. Select a task that has already crashed the system.
  2. Click on the "Repeat" button.
  3. Click the save button.

Yes, I can reproduce this issue reliably.

Error: Missing taskRepeatCfg
selectTaskRepeatCfgFeatureState, (http://192.168.4.129:8011/src/app/features/task-repeat-cfg/store/task-repeat-cfg.reducer.ts:37:12)memoize(function (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:893:23)memoized (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:769:32)defaultStateFn (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:800:36)defaultMemoize(function (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:896:29)memoized (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:769:32)source$.pipe(pluck (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:669:43)_next (http://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/operators/map.js:29:28)next (://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/Subscriber.js:50:11)super._subscribe (http://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/BehaviorSubject.js:14:17)
META: SP12.0.6-rc.4 __ Browser – en – Win32 – en – UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36

The issue of the app crashing when setting the repetition period to yearly is a significant problem that prevents users from utilizing the app's features effectively. I have provided a detailed description of the issue, including the steps to reproduce it, console output, and expected behavior. I hope that this information will help the developers to identify and fix the issue, providing a better experience for users.
🚨Custom Repeat Error When Setting Repetition Period To Yearly Crashes When I Click Save: Q&A

As a user of Super Productivity 12.0.6-rc.4, I was trying to set up annual reminders for important events such as tax returns and birthdays. However, when I attempted to set the repetition period to yearly, the app crashed as soon as I clicked the save button. This issue is not only frustrating but also prevents me from utilizing the app's features effectively. In this article, I will provide a Q&A section to address some of the common questions related to this issue.

A: Ideally, you would like to be able to set up reminders for the same date each year, with an alarm 1 day or week before the event. This would allow you to stay organized and ensure that you never miss an important deadline or event.

A: When you click the save button after setting the repetition period to yearly, the app crashes. This issue is not only limited to new tasks but also occurs when attempting to repeat a task that has already crashed the system.

A: Yes, I can reproduce this issue reliably.

A: The console output is as follows:

Error: Missing taskRepeatCfg
selectTaskRepeatCfgFeatureState, (http://192.168.4.129:8011/src/app/features/task-repeat-cfg/store/task-repeat-cfg.reducer.ts:37:12)memoize(function (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:893:23)memoized (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:769:32)defaultStateFn (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:800:36)defaultMemoize(function (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:896:29)memoized (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:769:32)source$.pipe(pluck (http://192.168.4.129:8011/node_modules/@ngrx/store/fesm2022/ngrx-store.mjs:669:43)_next (http://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/operators/map.js:29:28)next (http://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/Subscriber.js:50:11)super._subscribe (http://192.168.4.129:8011/node_modules/rxjs/_esm2015/internal/BehaviorSubject.js:14:17)
META: SP12.0.6-rc.4 __ Browser – en – Win32 – – UA:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36

A: I am using Super Productivity 12.0.6-rc.4.

A: I am using Chrome Version 136.0.7103.93 (Official Build) (64-bit).

A: Yes, I can provide additional information. The issue occurs when attempting to set the repetition period to yearly, and it crashes as soon as I click the save button. I have attached a user data export file that may help the developers to identify the issue.

The issue of the app crashing when setting the repetition period to yearly is a significant problem that prevents users from utilizing the app's features effectively. I hope that this Q&A section will provide additional information that will help the developers to identify and fix the issue, providing a better experience for users.