[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Description
IMPORTANT TO KNOW
CHANGES
Adds a new composite primary key relation in the Vendors table between VendorsID and LicenseID
Adds a new PK/FK relationship between Account's name and Vendor's LicenseID
Leads to new behaviour that all Accounts are also a Vendor
This lead to a necessary change only showing Vendor with the Accounts type Vendor
TODO
DONE
Test failed to migrate current migration with production-like system. Figure out how to avoid error. Maybe create vendor beforehand for accounts not having a vendor relation yet
!!!FIX!!! -> The fix is hacky but simple by creating five vendor instances with the license-id's "Cash", "VivaWallet", "Paypal", "UserAnon" and "Orga" and then create the relation towards the accounts by adding the vendors ID into the vendors field of each of these Accounts
Disabling to see and use special accounts in frontend
Fixing all tests and its according functions
Discussing about onethe follwing test shown in Screenshot, which actually fails but is not recognized neither locally nor by Github Actions -> postponed via new Issue
Checklist:
[x] I have commented my code (or ChatGPT did), particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings, neither in my IDE nor in my browser
[x] I have added tests that prove my fix is effective or that my feature works
Type of change
Description
IMPORTANT TO KNOW
CHANGES
TODO
DONE
Disabling to see and use special accounts in frontend
Fixing all tests and its according functions
Discussing about onethe follwing test shown in Screenshot, which actually fails but is not recognized neither locally nor by Github Actions -> postponed via new Issue
Checklist:
[x] I have commented my code (or ChatGPT did), particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings, neither in my IDE nor in my browser
[x] I have added tests that prove my fix is effective or that my feature works