nextcloud / nextcloud/survey_client
Broken since 14, due to the apps list it seems.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 20
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Our survey server has no data newer than Nextcloud 14. Just testing it, I could send a report on my local instance - but it contained barely any data. It didn't work on my normal instance, until I disabled:
- App list (for each app: name, version, enabled status)
Sadly the logs say nothing and there's no command line way to call this either.
The console shows:
POST https://cloud.josandcamila.com:444/ocs/v2.php/apps/survey_client/api/v1//report?format=json 500 (Internal Server Error)
| send | @ | jquery.js:8630 | |
|---|---|---|---|
| ajax | @ | jquery.js:8166 | |
| (anonymous) | @ | admin.js?v=40d0545e-81:35 | |
| dispatch | @ | jquery.js:4435 | |
| _.handle | @ | jquery.js:4121 |
server log just gives:
192.168.1.167 - - [09/Nov/2019:22:29:10 +0100] "POST /ocs/v2.php/apps/survey_client/api/v1//report?format=json HTTP/1.1" 500 6066 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
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 by reproducing the POST to /ocs/v2.php/apps/survey_client/api/v1//report?format=json with the App list option enabled, using the request shown in the issue and the admin.js entry point. Investigate why the report returns HTTP 500 despite no useful application log output; done means reports succeed with App list enabled and include the app data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100