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

Crash on selecting Monthly or Yearly - Reports: Summary of Accounts #5352

Closed
3 of 11 tasks
k13oharts opened this issue Nov 20, 2022 · 2 comments
Closed
3 of 11 tasks

Crash on selecting Monthly or Yearly - Reports: Summary of Accounts #5352

k13oharts opened this issue Nov 20, 2022 · 2 comments
Assignees
Milestone

Comments

@k13oharts
Copy link

MMEX version:

  • 1.5.20
  • 1.5.21
  • 1.6.0
  • 1.6.1 Beta
  • Other (please specify)

Note: bug reporters are expected to have verified the bug still exists
either in the last stable version of MMEX or on updated development code
(master branch).

Operating System:

  • Windows
  • Mac OSX
  • Linux

Description of the bug

It seems that asset and stocks (together) have an issue during reporting their status
Viewing a fresh database with either asset or stock works but not both

Please describe your issue with details.
Add screenshot or other files if needed.

Reproduction

Is the bug reproducible?

  • Always
  • Randomly
  • Happened only once

Reproduction steps:

  • Created new/fresh database with one asset and one stock.
  • Upon selecting Reports --> Summary of Accounts: Monthly or Yearly, mmex crashes

Expected result:
Accounts Balance graphical report

Actual result:
Crash

Additional information

If you have a backtrace for a crash or a warning, paste it here.
MoneyManagerEx_dbgrpt-7480-20221120T205236.zip
newAssets.zip

@whalley whalley added the bug label Nov 21, 2022
@whalley whalley added this to the v1.6.2 milestone Nov 21, 2022
@n-stein
Copy link
Contributor

n-stein commented Nov 21, 2022

Reproduced in 1.6.0. Still reproducible in 1.6.2 Alpha build.

@n-stein
Copy link
Contributor

n-stein commented Nov 21, 2022

Fixed in PR #5358. During balance calculation the REFTYPE was not taken into account when pulling translink records, so it was trying to pull SHARENUMBER for asset transactions.

whalley added a commit that referenced this issue Nov 21, 2022
fix(#5352): fix crash on stock balance calc
@whalley whalley added the fixed label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants