spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Fix updating items not broadcasting the update to referrer tables #285

Closed soininen closed 12 months ago

soininen commented 12 months ago

This PR fixes a bug where updating a database item would not update the _MappedTable._id_by_unique_key_value dicts of referrer item tables. This lead to a situation where e.g. a parameter value could not be found by get_item() after renaming the value's entity.

Fixes #284

Checklist before merging