Skip to content

[Bug]: Nextcloud max-version is mandatory for apps #13892

@cociweb

Description

@cociweb

⚠️ This issue respects the following points: ⚠️

Bug description

According to the docs, the Nextcloud max-version is optional for the apps.
Please remove the upper version mandatory constraint.

Image

Ref:
https://docs.nextcloud.com/server/latest/developer_manual/app_development/info.html
for:
https://apps.nextcloud.com/schema/apps/info.xsd

Steps to reproduce

  1. Create and add a third-party app.

Expected behavior

The nextcloud should check the upper version only if it is defined in the appinfo/info.xml. If it is omitted, then it should not provide an error like:

info.xml did not validate: Element 'nextcloud': The attribute 'max-version' is required but missing., line 32

Nextcloud Server version

30

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

Modifying the validator schema is enough?
https://github.com/nextcloud/server/blob/9dbadc5affc7bf47d3c114e5dde539d25ae5ccf6/resources/app-info.xsd#L591

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions