Closed saw-jan closed 2 years ago
This will be related to core PR https://github.com/owncloud/core/pull/40163 There is different code in core daily-master-qa tarball last night.
This looks like a real core code problem. If a group already exists, then the core API seems to return the message text in the response, but not inside a "data" structure. If the group name is invalid (for example, has whitespace at the start or end) then the message text comes inside a "data" structure.
They should be consistent! I will have a look. I think it needs to be fixed in core, and there needs to be an extra test scenario in core to cover this.
See core issue https://github.com/owncloud/core/issues/40164 - fixing that will fix this issue. Core PR https://github.com/owncloud/core/pull/40165 will fix that issue and this issue.
Builds: https://drone.owncloud.com/owncloud/user_ldap/4002/53/14, https://drone.owncloud.com/owncloud/user_ldap/4002/54/14, https://drone.owncloud.com/owncloud/user_ldap/4002/57/14, https://drone.owncloud.com/owncloud/user_ldap/4002/58/14, https://drone.owncloud.com/owncloud/user_ldap/4002/67/14