airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eroma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRAVATA-2895) Creating a user group in Django throws an undefined error
Date Wed, 03 Oct 2018 20:21:00 GMT
Eroma created AIRAVATA-2895:
-------------------------------

             Summary: 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
             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)

Mime
View raw message