You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how relevant this is for the larger code base because I only came across it via a DB of mine which turned out to have wonky migrations, but since I found previous mentions of this issue, I'm reporting it just in case:
While trying to apply migrations on this (wonky) DB, I got the following error:
ValueError: The field apis_entities.TempEntityClass.collection was declared with a lazy reference to 'apis_metainfo.collection', but app 'apis_metainfo' doesn't provide model 'collection'.
The field apis_entities.TempEntityClass_collection.collection was declared with a lazy reference to 'apis_metainfo.collection', but app 'apis_metainfo' doesn't provide model 'collection'.
I then found PR #964, which removed references to Collections from apis_vocabularies in commit b76bd4a.
The error I got was for apis_entitites. A search for "apis_metainfo.collections" turned up these two remaining references:
I don't know if these, too, should have got removed at the time or if mentions of the model were only removed from migrations for apis_vocabularies on purpose – the commit message in the linked PR could be interpreted to mean either.
I did not come across this error when running the migrate command for all apis_core apps on a brand new database on version v0.30.0, hence the caveat re: relevancy at the top.
The text was updated successfully, but these errors were encountered:
I don't know how relevant this is for the larger code base because I only came across it via a DB of mine which turned out to have wonky migrations, but since I found previous mentions of this issue, I'm reporting it just in case:
While trying to apply migrations on this (wonky) DB, I got the following error:
I then found PR #964, which removed references to
Collections
from apis_vocabularies in commit b76bd4a.The error I got was for apis_entitites. A search for "apis_metainfo.collections" turned up these two remaining references:
apis-core-rdf/apis_core/apis_entities/migrations/0001_initial.py
Line 58 in 98e2ca3
apis-core-rdf/apis_core/apis_metainfo/migrations/0002_auto_20220201_1241.py
Line 70 in 98e2ca3
I don't know if these, too, should have got removed at the time or if mentions of the model were only removed from migrations for
apis_vocabularies
on purpose – the commit message in the linked PR could be interpreted to mean either.I did not come across this error when running the
migrate
command for allapis_core
apps on a brand new database on versionv0.30.0
, hence the caveat re: relevancy at the top.The text was updated successfully, but these errors were encountered: