You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/09 14:38:00 UTC

[jira] [Commented] (AIRAVATA-3644) Error creating notification: Error: {"showInDashboard":["This field may not be null."]}

    [ https://issues.apache.org/jira/browse/AIRAVATA-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602374#comment-17602374 ] 

ASF subversion and git services commented on AIRAVATA-3644:
-----------------------------------------------------------

Commit d6bafd09ef4bf1857007201d1a5b15594649e6f9 in airavata-django-portal's branch refs/heads/staging 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)