Skip to content

Usage survey does not send all checked items and checks wrong data items afterwards #121

@0xpr03

Description

@0xpr03

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Go to usage survey (no data entry is checked).
  2. Check the top three data items (server instance details, php environment, database environment)
  3. Do not check "send monthly"
  4. Click "Send survey"
  5. Reload tab after sending is done
  6. Inspect checked items and "Last Usage Report" with current time/date

Expected behaviour

After reloading the "Last Report send" contains data about the php environment and database.

Maybe also the previously selected data items are still selected.

Example:

Details ```text { "id": "XXXXXXXXXXXX", "items": [ [ "server", "version", "22.2.2.0" ], [ "server", "code", "other" ], [ "server", "enable_avatars", "yes" ], [ "server", "enable_previews", "yes" ], [ "server", "memcache.local", "\\OC\\Memcache\\APCu" ], [ "server", "memcache.distributed", "\\OC\\Memcache\\Redis" ], [ "server", "asset-pipeline.enabled", "no" ], [ "server", "filelocking.enabled", "yes" ], [ "server", "memcache.locking", "\\OC\\Memcache\\Redis" ], [ "server", "debug", "no" ], [ "server", "cron", "cron" ] ] } ```

Actual behaviour

Report (with current date) does not contains database stuff and no php info (memory limit..). Now only the first one (server instance details) is checked.

I know this bug already existed ~a year ago.

Server configuration

Operating system: Debian 10

Web server: Apache2

Database: Mariadb

PHP version: 7.3

Nextcloud version: 22.2.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated

Where did you install Nextcloud from: download.nextcloud.com

Signing status:

Signing status
No errors have been found.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions