Integrity db error between geoapps tables on upgrade from 3.x to 4.x
marthamareal opened this issue · 0 comments
marthamareal commented
Expected Behavior
- User should be able to perform all actions on available data after upgrading from 3.x to 4.x
Actual Behavior
- An integrity error is raised when a user tries to delete a geoapp/dashbord which was created with 3.x after upgrading to 4.x.
- With dashboards, in 3.3.x, we assign polymorphic_ctype = dashboard hence on retrieving it after an upgrade, the error 'NoneType' object has no attribute 'objects' is raised.
- There are some migration issues in regards to upload app. (relation UploadSizeLimit already exists)
Steps to Reproduce the Problem
- Start a geonode-project with 3.x
- Create resources eg layers, maps, geostories, and dashboards
- Upgrade project to 4.x
- Delete a geostory/geoapp created with 3.x
- An integrity error will be raised.
Specifications
- GeoNode version:
- Installation method (manual, GeoNode Docker, SPCGeoNode Docker):
- Platform:
- Additional details: