Skip to content

[Bug]: Limit application to group list is incomplete and does not accept not listed groups #50231

Open
@Rhobil

Description

⚠️ This issue respects the following points: ⚠️

Bug description

In the app list one can set a user group. The list has an autocomplete function.
Bug: The list does not show all groups matching the inserted string.
Bug: If an existing group is entered that is not listed as a proposed group, it can NOT be selected.
This means one can not select all of the created groups.
Possible relevant facts:

  • I am logged in as admin.
  • All groups are not empty (have users), two groups behaving different have the excact same number of users in it.
  • I can not see a difference between groups showing up and not showing up, except its name.
  • I use only letters (lowercase) ans "_" in the group names.
    Example:
    working: app_calendar
    not working: app_memories

Steps to reproduce

1.log in as admin
2.go to the apps list
3.select an app ( in my case: memories)
4.try to select the Limit to group - group

You have to create groups before doing so.

Expected behavior

All created groups should be selectable.

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{"reqId":"9GDfXWwe5lHHXE3OIEG4","level":4,"time":"2025-01-17T12:29:18+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","userAgent":"--","version":"30.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":157,"function":"boot","class":"OCA\\FilesTrackDownloads\\AppInfo\\Application","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":211,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Console/Application.php","line":84,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/console.php","line":81,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/occ","line":11,"args":["/var/www/html/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/files_trackdownloads/lib/AppInfo/Application.php","Line":49,"message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()"}}
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE MANUALLY***"
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.5.1",
        "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE MANUALLY***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "default_language": "de",
        "default_locale": "de_DE",
        "default_phone_region": "DE",
        "defaultapp": "",
        "allow_user_to_change_display_name": true,
        "skeletondirectory": "",
        "overwriteprotocol": "https",
        "htaccess.RewriteBase": "\/",
        "appcodechecker": true,
        "updater.release.channel": "stable",
        "activity_expire_days": 14,
        "maintenance": false,
        "maintenance_window_start": 1,
        "filesystem_check_changes": 1,
        "theme": "",
        "loglevel": 0,
        "logfile": "\/var\/log\/nextcloud.log",
        "app_install_overwrite": [
            "keeweb",
            "radio",
            "files_trackdownloads",
            "impersonate",
            "apporder",
            "spreed",
            "files_rightclick",
            "music",
            "files_archive",
            "extract"
        ],
        "encryption.legacy_format_support": false,
        "encryption.key_storage_migrated": false,
        "ldapIgnoreNamingRules": false,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "memories.exiftool": "\/var\/www\/html\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.db.triggers.fcu": true
    }
}

List of activated Apps

{"reqId":"pQ9nk1uPsugLO6fxRNHI","level":4,"time":"2025-01-17T12:31:47+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","userAgent":"--","version":"30.0.5.1","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":157,"function":"boot","class":"OCA\\FilesTrackDownloads\\AppInfo\\Application","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/App/AppManager.php","line":211,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Console/Application.php","line":84,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/html/nextcloud/console.php","line":81,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/html/nextcloud/occ","line":11,"args":["/var/www/html/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/files_trackdownloads/lib/AppInfo/Application.php","Line":49,"message":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot files_trackdownloads: Call to undefined method OC\\Server::getEventDispatcher()"}}
Enabled:
  - activity: 3.0.0
  - app_api: 4.0.5
  - bookmarks: 15.0.4
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.9
  - checksum: 1.2.5
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.3
  - contactsinteraction: 1.11.0
  - cookbook: 0.11.2
  - dav: 1.31.1
  - drawio: 3.0.3
  - encryption: 2.18.0
  - external: 5.5.2
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_antivirus: 5.6.1
  - files_archive: 1.2.3
  - files_downloadlimit: 3.0.0
  - files_external: 1.22.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trackdownloads: 1.11.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - files_zip: 2.1.0
  - firstrunwizard: 3.0.0
  - impersonate: 1.17.1
  - keeweb: 0.6.20
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - maps: 1.5.0
  - memories: 7.4.1
  - metadata: 0.21.0
  - nextcloud_announcements: 2.0.0
  - notifications: 3.0.0
  - oauth2: 1.18.1
  - password_policy: 2.0.0
  - privacy: 2.0.0
  - provisioning_api: 1.20.0
  - related_resources: 1.5.0
  - richdocuments: 8.5.3
  - richdocumentscode: 24.4.1103
  - serverinfo: 2.0.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - snappymail: 2.38.2
  - spreed: 20.1.2
  - support: 2.0.0
  - survey_client: 2.0.0
  - systemtags: 1.20.0
  - text: 4.1.0
  - theming: 2.5.0
  - theming_customcss: 1.18.0
  - twofactor_backupcodes: 1.19.0
  - updatenotification: 1.20.0
  - viewer: 3.0.0
  - webhook_listeners: 1.1.0-dev
  - workflowengine: 2.12.0
Disabled:
  - admin_audit: 1.20.0
  - circles: 30.0.0 (installed 0.18.9)
  - dashboard: 7.10.0 (installed 7.0.0)
  - photos: 3.0.2 (installed 2.5.0)
  - recommendations: 3.0.0 (installed 0.6.0)
  - suspicious_login: 8.0.0 (installed 6.0.0)
  - twofactor_nextcloud_notification: 4.0.0
  - twofactor_totp: 12.0.0-dev
  - user_ldap: 1.21.0 (installed 1.10.2)
  - user_status: 1.10.0 (installed 1.3.1)
  - weather_status: 1.10.0 (installed 1.0.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Additional info

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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