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
Archive admin doesn't load, because it overrides getManagedModels() and doesn't include a dataClass key.
There are likely other ModelAdmin subclasses that do this to, so instead of just patching archive admin, we should make ModelAdmin not assume that key will always be there.
Awesome, thank you.
A patch release wouldn't be appropriate in this case - the problem was only present in the 4 branch (aka 4.12) which hasn't had a stable release yet.
Archive admin doesn't load, because it overrides
getManagedModels()
and doesn't include adataClass
key.There are likely other
ModelAdmin
subclasses that do this to, so instead of just patching archive admin, we should makeModelAdmin
not assume that key will always be there.Acceptance criteria
PRs
Notes:
It's probably worth spinning off a card for CMS 5 to officially require
'dataClass'
being a key in the array.The text was updated successfully, but these errors were encountered: