Cannot delete circle or remove user from a circle Error 302
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 177
- Forks
- 68
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 60
Description
Steps to reproduce
- Create a circle and add users to it
- Remove user from the circle or delete the whole circle, which seems to be processed correctly on the user interface
- Reload the contacts page and see that the circle appears again or the recently removed users are back as members or a circle respectively.
- After that I checked circles with
.occ
sudo -u www-data php /var/www/nextcloud/occ circles:check
Result:
### Checking loopback address.
. The loopback setting is mandatory and can be checked locally.
. The address you need to define here must be a reachable url of your Nextcloud from the hosting server itself.
. By default, the App will use the entry 'overwrite.cli.url' from 'config/config.php'.
* testing current address: http://example.com
- GET request on http://example.com/index.php/csrftoken: 302
- You do not have a valid loopback address setup right now.
Expected behaviour
circle shall be removed, if the removal operation hat been performed, or the users shall be removed from the circle respectively
Actual behaviour
circle and user's membership are retained and are visible again with the next page refresh
Server Configuration
Operating system:
Ubuntu 20.04
Web server:
Apache
Database:
MySQL 10.5.12
PHP version:
8.0.10
Nextcloud version:
22.1.1
Where did you install Nextcloud from:
tar-ball from download page
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the contacts-page removal flow and the occ circles:check entry point. Inspect config/config.php, especially overwrite.cli.url, and reproduce the 302 response at index.php/csrftoken. Done means deleting a circle or membership remains effective after reloading the contacts page and the loopback check succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, javascript, mysql, php
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100