Hi,
Since I have update from mmex 1.9.0 to 1.9.1 (Linux), I cannot add anymore new shares to the same stock.
From the Stock Portfolio view of the investment account I select the row corresponding to the company, then click on the button Adjust Trade in the bottom. The Add Share Transaction form opens, and I insert Share Number, Share Price, Data, Account, Buy (Transfer), Payee, Category.
Once I click the OK button I get an error window title Add Share Transaction and with text Invalid Transaction.
I remember getting this window previously every time when I didn't insert all mandatory fields, for example if I didn't select any Payee or any Category. However now it seems I filled every detail.
Has it happened anything similar to you?
Thank you,
--Keni
P.S.:
I thought it was a migration issue. So I have created a new database with a checking and an investment account, added some money to the Cash Ledger, issued a new stock purchase transaction, then repeated the steps mentioned above to Adjust Trade. Doing this I get the same error window.
Error "Invalid Transaction" when adding new shares (mmex 1.9.1 stocks v2)
Moderator: Renato
-
keni7385
- New User
- Posts: 3
- Joined: Sat Oct 18, 2025 12:50 pm
- Are you a spam bot?: No
- Renato
- MVP User
- Posts: 900
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: Error "Invalid Transaction" when adding new shares (mmex 1.9.1 stocks v2)
Have you read this article? https://moneymanagerex.org/blog/mmex-st ... d-changes/
Renato Forum Administrator (I'm not a developer)
-
keni7385
- New User
- Posts: 3
- Joined: Sat Oct 18, 2025 12:50 pm
- Are you a spam bot?: No
Re: Error "Invalid Transaction" when adding new shares (mmex 1.9.1 stocks v2)
Thank you for the link. Yes, I read it previously.
After some trials, I manage to figure out the reason, and it seems not necessarily due to the Stocks v2.
Basically, when selecting the Category in the Add Share Transaction form (Adjust Trade button), I start typing in the textbox the name of the category, such as Investment:Purchase. As the typing goes, the system creates a UI list of the categories that are matching my text, and progressively filters out those that do not match. Once there are only a few, I click on the desired category (Investment:Purchase). This leads to Invalid Transaction error message once I click OK button.
However, if I type nothing and instead I simply select the Category from the list (by manually opening the dropdown list next to the Category text area), then it works, and the transaction is saved.
So it looks like the Category is empty / not selected whenever if I click from those suggested in the list while typing.
Please, see the attached video from google drive
(The std:bad_alloc error seems not to affect the transaction)
I might be wrong, but I don't remember having this problem in previous versions.
(This problem seems not there for other transactions that are not share transactions)
After some trials, I manage to figure out the reason, and it seems not necessarily due to the Stocks v2.
Basically, when selecting the Category in the Add Share Transaction form (Adjust Trade button), I start typing in the textbox the name of the category, such as Investment:Purchase. As the typing goes, the system creates a UI list of the categories that are matching my text, and progressively filters out those that do not match. Once there are only a few, I click on the desired category (Investment:Purchase). This leads to Invalid Transaction error message once I click OK button.
However, if I type nothing and instead I simply select the Category from the list (by manually opening the dropdown list next to the Category text area), then it works, and the transaction is saved.
So it looks like the Category is empty / not selected whenever if I click from those suggested in the list while typing.
Please, see the attached video from google drive
(The std:bad_alloc error seems not to affect the transaction)
I might be wrong, but I don't remember having this problem in previous versions.
(This problem seems not there for other transactions that are not share transactions)
- Renato
- MVP User
- Posts: 900
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: Error "Invalid Transaction" when adding new shares (mmex 1.9.1 stocks v2)
Since I don't work with Linux and don't manage stocks with MMEX, I can't understand this.
Developers are needed here; I would raise the issue at https://github.com/moneymanagerex/moneymanagerex.
Developers are needed here; I would raise the issue at https://github.com/moneymanagerex/moneymanagerex.
Renato Forum Administrator (I'm not a developer)
-
keni7385
- New User
- Posts: 3
- Joined: Sat Oct 18, 2025 12:50 pm
- Are you a spam bot?: No
Re: Error "Invalid Transaction" when adding new shares (mmex 1.9.1 stocks v2)
Done, thank you for supporting.
Who is online
Users browsing this forum: Claude [Bot] and 0 guests