{"action":"opened","issue":{"url":"https://api.github.com/repos/geosolutions-it/geonode-project/issues/2","repository_url":"https://api.github.com/repos/geosolutions-it/geonode-project","labels_url":"https://api.github.com/repos/geosolutions-it/geonode-project/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/geosolutions-it/geonode-project/issues/2/comments","events_url":"https://api.github.com/repos/geosolutions-it/geonode-project/issues/2/events","html_url":"https://github.com/geosolutions-it/geonode-project/issues/2","id":331498264,"node_id":"MDU6SXNzdWUzMzE0OTgyNjQ=","number":2,"title":"Sync oauth fixtures","user":{"login":"cezio","id":116021,"node_id":"MDQ6VXNlcjExNjAyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/116021?v=4","gravatar_id":"","url":"https://api.github.com/users/cezio","html_url":"https://github.com/cezio","followers_url":"https://api.github.com/users/cezio/followers","following_url":"https://api.github.com/users/cezio/following{/other_user}","gists_url":"https://api.github.com/users/cezio/gists{/gist_id}","starred_url":"https://api.github.com/users/cezio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezio/subscriptions","organizations_url":"https://api.github.com/users/cezio/orgs","repos_url":"https://api.github.com/users/cezio/repos","events_url":"https://api.github.com/users/cezio/events{/privacy}","received_events_url":"https://api.github.com/users/cezio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T08:59:59Z","updated_at":"2018-06-12T08:59:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"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:\r\n\r\n```\r\ndjango4demo_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\r\ndjango4demo_master | 2018-06-11T15:40:33.661557835Z DETAIL:  Failing row contains (1001, Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV, http://188.165.216.96:None/geoserver/index.html\r\ndjango4demo_master | 2018-06-11T15:40:33.661561175Z http://geonode:8..., confidential, authorization-code, rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePB..., GeoServer, 1000, t, null, null, RS256).\r\n```\r\nsee:\r\n https://github.com/geosolutions-it/geonode-demo/pull/24\r\n https://github.com/GeoNode/geonode/pull/3825\r\n\r\n\r\nAffected:\r\n https://github.com/geosolutions-it/geonode-generic/blob/master/tasks.py#L186\r\n https://github.com/geosolutions-it/geonode-project/blob/master/tasks.py#L171\r\n\r\nUpstream geonode-project is not using tasks.py yet as it's using different docker image"}}
{"actor":{"display_login":"cezio"}}