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

Split recurring transaction gets wrong (split) titles #8844

Open
4 tasks done
dreautall opened this issue May 1, 2024 · 1 comment
Open
4 tasks done

Split recurring transaction gets wrong (split) titles #8844

dreautall opened this issue May 1, 2024 · 1 comment
Labels
bug Verified and replicated bugs and issues.

Comments

@dreautall
Copy link

dreautall commented May 1, 2024

Support guidelines

I've found a bug and checked that ...

Description

I know it's not officially supported in the UI, but using the API you can create split recurring transactions. Unfortunately though, the complete transaction and every single split gets the title of the first split. Given the split transaction provided below under additional info, once executed there would only be "Split 1 TX" in all title fields, "Split 2 TX" & "Split TX Title" are not used. All other fields (Amount, Category, Bill, Budget) are fine.

Looking at past transactions, this behavior seemed to have changed between June & July 2023; it was working fine for a transaction on June 1st, not fine anymore on July 1st (funny enough at the same time, also the order of the transactions changes, i.e. since then "Split 2 TX" is the first split to be saved)

Debug information

Debug information generated at 2024-05-01 10:46:10 for Firefly III version v6.1.15.

System information
ItemValue
Firefly III6.1.15 / v2.0.14 / 24 (exp. 24)
PHP version8.3.6 (64bits) / apache2handler / Linux aarch64
BCscale12
Error reportingDisplay: Off, reporting: ALL errors
Max upload67108864 (64 MB)
Database drivers*mysql*, pgsql, sqlite,
Docker build#1074, base #83
Firefly III information
ItemValue
App environmentlocal, debug: false
Layoutv1
Loggingnotice, stack / (empty)
Cache driverfile
Default language and localede_DE + equal
Trusted proxies**
Login provider & user guardeloquent / web
Login headersN/A + N/A
Stateful domains
Last cron job2024-04-30 23:17:02 (9 hours ago)
Mailersmtp
User-specific information
ItemValue
User#1 of 1
User flags💳 🐷 🔧 🕜 📑 📧
Session start2024-04-01 00:00:00
Session end2024-05-01 23:59:59
View rangelast30
User languagede_DE
User localede_DE
Locale(s) supportedde_DE.utf8: ✅
de_DE.UTF-8: ✅

Expected behaviour

No response

Steps to reproduce

No response

Additional info

Output of query to api/v1/recurrences/5. Only slightly changed to hide some information.

{
  "data": {
    "type": "recurrences",
    "id": "5",
    "attributes": {
      "created_at": "2023-01-24T20:30:37+01:00",
      "updated_at": "2024-05-01T01:17:04+02:00",
      "type": "withdrawal",
      "title": "Split TX Title",
      "description": "",
      "first_date": "2023-02-01",
      "latest_date": "2024-05-01",
      "repeat_until": null,
      "apply_rules": true,
      "active": true,
      "nr_of_repetitions": null,
      "notes": null,
      "repetitions": [
        {
          "id": "5",
          "created_at": "2023-01-24T20:30:37+01:00",
          "updated_at": "2023-01-24T20:30:37+01:00",
          "type": "monthly",
          "moment": "1",
          "skip": 0,
          "weekend": 4,
          "description": "An jedem 1. Tag des Monats",
          "occurrences": [
            "2024-05-01T00:00:00+02:00",
            "2024-06-03T23:59:59+02:00",
            "2024-07-01T23:59:59+02:00",
            "2024-08-01T23:59:59+02:00",
            "2024-09-02T23:59:59+02:00"
          ]
        }
      ],
      "transactions": [
        {
          "id": "25",
          "currency_id": "1",
          "currency_code": "EUR",
          "currency_symbol": "",
          "currency_decimal_places": 2,
          "foreign_currency_id": null,
          "foreign_currency_code": null,
          "foreign_currency_symbol": null,
          "foreign_currency_decimal_places": null,
          "source_id": "1",
          "source_name": "Assets",
          "source_type": "Asset account",
          "destination_id": "61",
          "destination_name": "Expenses",
          "destination_type": "Expense account",
          "amount": "12.00",
          "foreign_amount": null,
          "description": "Split 1 TX",
          "tags": [],
          "category_id": "14",
          "category_name": "Split 1 Category",
          "budget_id": "5",
          "budget_name": "Split 1 Budget",
          "piggy_bank_id": null,
          "piggy_bank_name": null,
          "bill_id": "4",
          "bill_name": "Split 1 Bill"
        },
        {
          "id": "28",
          "currency_id": "1",
          "currency_code": "EUR",
          "currency_symbol": "",
          "currency_decimal_places": 2,
          "foreign_currency_id": null,
          "foreign_currency_code": null,
          "foreign_currency_symbol": null,
          "foreign_currency_decimal_places": null,
          "source_id": "1",
          "source_name": "Assets",
          "source_type": "Asset account",
          "destination_id": "61",
          "destination_name": "Expenses",
          "destination_type": "Expense account",
          "amount": "34.00",
          "foreign_amount": null,
          "description": "Split 2 TX",
          "tags": [],
          "category_id": "13",
          "category_name": "Split 2 Category",
          "budget_id": "5",
          "budget_name": "Split 2 Budget",
          "piggy_bank_id": null,
          "piggy_bank_name": null,
          "bill_id": "9",
          "bill_name": "Split 2 Bill"
        }
      ]
    },
    "links": {
      "0": {
        "rel": "self",
        "uri": "/recurring/5"
      },
      "self": "https://actual.hostname/api/v1/recurrences/5"
    }
  }
}
@JC5 JC5 added the bug Verified and replicated bugs and issues. label May 1, 2024
@JC5 JC5 added this to the firefly-iii-v6.1.16 milestone May 1, 2024
@JC5
Copy link
Member

JC5 commented May 1, 2024

Nice, I'll pick it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified and replicated bugs and issues.
Projects
Status: To do
Development

No branches or pull requests

2 participants