You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Eroma (JIRA)" <ji...@apache.org> on 2018/10/03 20:21:00 UTC
[jira] [Updated] (AIRAVATA-2895) Creating a user group in Django
throws an undefined error
[ https://issues.apache.org/jira/browse/AIRAVATA-2895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eroma updated AIRAVATA-2895:
----------------------------
Attachment: Screen Shot 2018-10-03 at 4.20.42 PM.png
> Creating a user group in Django throws an undefined error
> ---------------------------------------------------------
>
> Key: AIRAVATA-2895
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2895
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Affects Versions: 0.18
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
> Fix For: 0.18
>
> Attachments: Screen Shot 2018-10-03 at 4.20.42 PM.png
>
>
> Provided the group name and description and when submitted getting error message "Error: undefined"
> The error message is confusing and it is actually fired because I didn't add any members.
> We should be able to create groups without members.
> See the below error on portal
> Failed to load resource: the server responded with a status of 400 (Bad Request)
> ErrorReporter.js:30 {
> "id": 0,
> "message": "Error: \{\"members\":[\"This field may not be null.\"]}",
> "error": {
> "details": {
> "url": "/api/groups/",
> "body": "\{\"id\":null,\"name\":\"SGRC Group\",\"ownerId\":null,\"description\":\"SGRC group at Indiana University\",\"members\":null,\"isOwner\":null,\"isAdmin\":null,\"isMember\":null,\"isGatewayAdminsGroup\":null,\"isReadOnlyGatewayAdminsGroup\":null,\"isDefaultGatewayUsersGroup\":null}",
> "status": 400,
> "response": {
> "members": [
> "This field may not be null."
> ]
> }
> }
> },
> "details": {
> "url": "/api/groups/",
> "body": "\{\"id\":null,\"name\":\"SGRC Group\",\"ownerId\":null,\"description\":\"SGRC group at Indiana University\",\"members\":null,\"isOwner\":null,\"isAdmin\":null,\"isMember\":null,\"isGatewayAdminsGroup\":null,\"isReadOnlyGatewayAdminsGroup\":null,\"isDefaultGatewayUsersGroup\":null}",
> "status": 400,
> "response": {
> "members": [
> "This field may not be null."
> ]
> }
> },
> "suppressDisplay": false,
> "suppressLogging": false,
> "createdDate": "2018-10-03T20:16:55.994Z"
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)