Can't update records with properties without an id
Relates to caosdb-pylib#50.
E.g., on the demo instance, doing
ana_rt = db.RecordType(name="MusicalAnalysis").retrieve()
test_ana = db.Record(name="TestAnalysis").add_parent(ana_rt)
test_ana.insert()
test_ana.add_property(name="quality_factor", value=0.7)
test_ana.update()
results in
TransactionError: TransactionError: One or more entities are not qualified. None of them have been inserted/updated/deleted.
+--| REASONS |--
| -> RECORD (id: 357, name: 'TestAnalysis') CAUSED |UnqualifiedPropertiesError: Entity has unqualified properties.
| +--| REASONS |--
| | -> PROPERTY (id: 101, name: 'quality_factor') CAUSED | |EntityError: Entity has no ID.
| +----------------
+----------------
while updating with the id of the property works fine. Especially annoying since the correct id is even shown in the error message, so clearly the server resolves the name correctly and still doesn't update.