-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Steps to reproduce
- Login to owncloud and navigate to 'users'
- Type any invalid name (ending with a whitespace ) in the placeholder 'Group...'
- Click on '+' button (Button to add a new group)
Expected behaviour
The message saying Error creating group: Invalid group name should be popped up.
Actual behaviour
The actual pop up says Error creating group: {message}

The issue is not in the API because on making API call to add a group "newgroup ", it returns the correct error message.
API Call
curl -X POST http://admin:secret@example.com/ocs/v1.php/cloud/groups -d groupid="newgroup "Obtained Response
<?xml version="1.0"?>
<ocs>
<meta>
<status>failure</status>
<statuscode>101</statuscode>
<message>Invalid group name</message>
</meta>
<data/>
</ocs>
Server configuration
Operating system: ubuntu 20.04
Web server: apache2
Database: MySQL
PHP version: 7.4.3
ownCloud version: 10.11.0 prealpha (git)
Updated from an older ownCloud or fresh install: fresh
Where did you install ownCloud from: github
Reactions are currently unavailable