Bug 468144 - No account can be added
Summary: No account can be added
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-04 11:29 UTC by Robby Engelmann
Modified: 2023-04-08 21:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments
screenshot (55.37 KB, image/png)
2023-04-04 11:42 UTC, Robby Engelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robby Engelmann 2023-04-04 11:29:41 UTC
It is not possible to add an account.

Error message: "Unable to create account: Account has no name /home/abuild/rpmbuild/BUILD/kmymoney-5.1.80git2446~ad3db31/kmymoney/mymoney/mymoneyfile.cpp:1263"

However, an account name for entered!



Operating System: openSUSE Tumbleweed 20230403
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO
System Version: Not Applicable
Comment 1 Robby Engelmann 2023-04-04 11:42:13 UTC
Created attachment 157846 [details]
screenshot

Screenshot showing account setup
Comment 2 Thomas Baumgart 2023-04-04 20:08:12 UTC
Git commit 854352351768a5845d655dc3ad780420415721d6 by Thomas Baumgart.
Committed on 04/04/2023 at 20:05.
Pushed by tbaumgart into branch 'master'.

Fixed MyMoneyAccountLoan ctor
FIXED-IN: 5.2

M  +2    -0    kmymoney/mymoney/mymoneyaccount.h
M  +2    -0    kmymoney/mymoney/mymoneyaccountloan.cpp
M  +3    -0    kmymoney/mymoney/mymoneyaccountloan.h
M  +31   -13   kmymoney/mymoney/tests/mymoneyaccount-test.cpp

https://invent.kde.org/office/kmymoney/commit/854352351768a5845d655dc3ad780420415721d6
Comment 3 Robby Engelmann 2023-04-08 21:08:15 UTC
confirm, works here