Skip to content

[Bug]: Declarative settings are always rendered last #47109

@susnux

Description

@susnux

⚠️ This issue respects the following points: ⚠️

Bug description

When using declarative settings, the settings are always rendered last.
But if you specify a priority higher than a "legacy" setting, it should be rendered before them.

Steps to reproduce

  1. Add a declarative settings on a existing section
  2. set higher priority than other
  3. see the setting is always rendered last

Expected behavior

Should have the same control over the priority as with legacy settings.

Installation method

None

Nextcloud Server version

master

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

DeclarativeManager::getFormIDs only returns the IDs sorted, but not the priority so we can not sort in the settings app.

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