[jira] [Commented] (AIRAVATA-3698) Add support for Python 3.11
[ https://issues.apache.org/jira/browse/AIRAVATA-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768898#comment-17768898 ] ASF subversion and git services commented on AIRAVATA-3698: --- Commit dd41406b112c7a6d5d2af74901f6de291b733ade in airavata-django-portal's branch refs/heads/master from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=dd41406b ] AIRAVATA-3698 management command to fix up the content type id in page revision json > Add support for Python 3.11 > --- > > Key: AIRAVATA-3698 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3698 > Project: Airavata > Issue Type: Improvement > Components: Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > > Upgrade Wagtail and Django versions to get Python 3.11 support -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (AIRAVATA-3698) Add support for Python 3.11
[ https://issues.apache.org/jira/browse/AIRAVATA-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768899#comment-17768899 ] ASF subversion and git services commented on AIRAVATA-3698: --- Commit 75ff2835a078a515991dc48082fc19fdd9a72ae5 in airavata-django-portal's branch refs/heads/master from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=75ff2835 ] Merge pull request #186 from apache/AIRAVATA-3698-fix-page-revision-content-type AIRAVATA-3698 management command to fix up the content type id in page revision json > Add support for Python 3.11 > --- > > Key: AIRAVATA-3698 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3698 > Project: Airavata > Issue Type: Improvement > Components: Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > > Upgrade Wagtail and Django versions to get Python 3.11 support -- This message was sent by Atlassian Jira (v8.20.10#820010)
[GitHub] [airavata-django-portal] machristie merged pull request #186: AIRAVATA-3698 management command to fix up the content type id in page revision json
machristie merged PR #186: URL: https://github.com/apache/airavata-django-portal/pull/186 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@airavata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [airavata-django-portal] machristie opened a new pull request, #186: AIRAVATA-3698 management command to fix up the content type id in page revision json
machristie opened a new pull request, #186: URL: https://github.com/apache/airavata-django-portal/pull/186 The content type id in the wagtailcore_pagerevision.content_json column doesn't match the page's actual content type. when the page was imported from a wagtail export. The reason is that the content type ids were different in the Django instance where the Wagtail pages were developed and exported from. This causes at least a couple problems: - it causes an issue when migrating from wagtail 3.0 -> 4.0 (see [comment on AIRAVATA-3698](https://issues.apache.org/jira/browse/AIRAVATA-3698?focusedCommentId=17735463=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17735463)) - it causes an issue with saving revisions, causing them to sometimes fail to save which can result in history and data loss. This PR adds a management command (fix_page_revision_content_type) that will programmatically look for and fix up any content_json that has a content_type id that doesn't match the page's actual content type. Additionally, this PR automatically calls fix_page_revision_content_type after loading a Wagtail export. This should prevent this issue from resurfacing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@airavata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Commented] (AIRAVATA-3698) Add support for Python 3.11
[ https://issues.apache.org/jira/browse/AIRAVATA-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17768811#comment-17768811 ] ASF subversion and git services commented on AIRAVATA-3698: --- Commit dd41406b112c7a6d5d2af74901f6de291b733ade in airavata-django-portal's branch refs/heads/AIRAVATA-3698-fix-page-revision-content-type from Marcus Christie [ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=dd41406b ] AIRAVATA-3698 management command to fix up the content type id in page revision json > Add support for Python 3.11 > --- > > Key: AIRAVATA-3698 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3698 > Project: Airavata > Issue Type: Improvement > Components: Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > > Upgrade Wagtail and Django versions to get Python 3.11 support -- This message was sent by Atlassian Jira (v8.20.10#820010)