ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.46k stars 129 forks source link

Error on goal view #180

Open tribly opened 7 months ago

tribly commented 7 months ago

Describe your Environment OS: Arch Linux Paisa Version: 0.6.5-1 App Variant: Desktop

Describe the bug Opening a goal ends in error, after updating to the latest release. Also the close button doesn't work and the error window persists when navigating to other pages of the site.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'goals page'
  2. Click on a goal
  3. See error
Og@http://localhost:7500/_app/immutable/chunks/ProgressWithBreakpoints.UtLwf9L_.js:1:296775
oQ@http://localhost:7500/_app/immutable/chunks/ProgressWithBreakpoints.UtLwf9L_.js:1:296701
ft/<@http://localhost:7500/_app/immutable/nodes/35.fqP1kAQO.js:1:8311

Please report this issue at https://github.com/ananthakumaran/paisa/issues. Closing and reopening the app may help.

Expected behavior Viewing a goal description.

ananthakumaran commented 7 months ago

Do you have any goals? If so can you share the config here and the current balance

tribly commented 7 months ago
accounts:
    - name: Assets:Wishlist:Thing
      icon: fa6-brands:apple
goals:
    retirement: []
    savings:
        - name: Thing
          icon: mdi:youtube-gaming
          target: 210
          target_date: ""
          rate: 0
          payment_per_period: 0
          accounts:
            - Assets:Wishlist:Thing
          priority: 3

Basically this. With no balance in Assets:Wishlist:*

tribly commented 5 months ago

Found a solution: An existing account needs to be added to the goal.