christofmuc / KnobKraft-orm

The KnobKraft Orm - The free modern cross-platform MIDI Sysex Librarian
GNU Affero General Public License v3.0
207 stars 27 forks source link

New user bank with fill is broken #355

Closed christofmuc closed 3 weeks ago

christofmuc commented 1 month ago

"Add new user bank" using "fill" didn't work ("error DATABASE ERROR in putPatchList: SQL Exception FOREIGN KEY constraint failed"). "Add new List" always worked. At some point is mysteriously started to work but when creating a new database, it's broken again.

christofmuc commented 1 month ago

Originally reported in #353

christofmuc commented 1 month ago

Confirmed. It seems to be dependend if you have "enough" patches in the grid to fill the bank. I will investigate.

christofmuc commented 1 month ago

Fixed

christofmuc commented 1 month ago

Fixed by extending the generated bank to the required size by repeating the last patch. This allows the user to see where the data ended, so other patches could be added manually.

christofmuc commented 3 weeks ago

Part of release 2.4.3