[
https://issues.apache.org/jira/browse/AIRAVATA-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17604439#comment-17604439
]
ASF subversion and git services commented on AIRAVATA-3644:
-----------------------------------------------------------
Commit d6bafd09ef4bf1857007201d1a5b15594649e6f9 in airavata-django-portal's
branch
refs/heads/dependabot/npm_and_yarn/django_airavata/static/common/terser-4.8.1
from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=d6bafd09 ]
AIRAVATA-3644 Default showInDashboard to false
> Error creating notification: Error: {"showInDashboard":["This field may not
> be null."]}
> -----------------------------------------------------------------------------------------
>
> Key: AIRAVATA-3644
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3644
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> h3. Steps to reproduce
> 1. Create a notice with title, message, publish date, expiration date and
> priority.
> 2. Don't do anything with the Show in Dashboard checkbox.
> 3. Click Save
> h3. Actual result
> Error
> {code}
> Error: {"showInDashboard":["This field may not be null."]}
> {code}
> Looks like the showInDashboard field is never initialized if the checkbox is
> never toggled. It should default to false.
> h3. Expected result
> Notice should be saved like normal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)