Geonode master changed oauth provider module, which requires created/updated fields in model to be not null. Fixtures used previously didn't have them, so restoring fixtures will cause error:
django4demo_master | 2018-06-11T15:40:33.661553525Z django.db.utils.IntegrityError: Problem installing fixture '/tmp/default_oauth_apps_docker.json': Could not load oauth2_provider.Application(pk=1001): null value in column "created" violates not-null constraint
django4demo_master | 2018-06-11T15:40:33.661557835Z DETAIL: Failing row contains (1001, Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV, http://188.165.216.96:None/geoserver/index.html
django4demo_master | 2018-06-11T15:40:33.661561175Z http://geonode:8..., confidential, authorization-code, rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePB..., GeoServer, 1000, t, null, null, RS256).
Geonode master changed oauth provider module, which requires
created
/updated
fields in model to be not null. Fixtures used previously didn't have them, so restoring fixtures will cause error:see: https://github.com/geosolutions-it/geonode-demo/pull/24 https://github.com/GeoNode/geonode/pull/3825
Affected: https://github.com/geosolutions-it/geonode-generic/blob/master/tasks.py#L186 https://github.com/geosolutions-it/geonode-project/blob/master/tasks.py#L171
Upstream geonode-project is not using tasks.py yet as it's using different docker image
We probably can remove fixtures from https://github.com/geosolutions-it/geonode-project/tree/master/fixtures as they're duplicate from https://github.com/GeoNode/geonode/blob/master/geonode/base/fixtures/