-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 6.10.0
-
Component/s: Repositories
-
1
-
Severity 2 - Major
-
0
Issue Summary
If a user watches and unwatches a repository from UI , then the user can't watch it again using the REST api. However, one can always watch a fresh repository using the API.
Steps to Reproduce
- Watch a repository from UI.
- Unwatch it from the account settings.
- Try watching it using the REST API as follwing
curl -u username -X POST -H "Content-Type: application/json" -d '{}' 'http://localhost:7991/rest/api/1.0/projects/TEST/repos/demo3/watch'
- There won't be any change reflected in the UI
Expected Results
The API should be respected by th UI.
Actual Results
The below exception is thrown in the xxxxxxx.log file:
...
Workaround
There isn't any workaround at the moment. Sometime it works by deleting the watch using API and then again enabling it with the API
- relates to
-
BSERV-12974 Watching a reposoitory from REST API isn't reflected in 'Watched repositories'
-
- Gathering Impact
-