Skip to content

Search in apps view broken, if multiple authors are specified #1563

@irgendwie

Description

@irgendwie

The search function is broken for the apps view, if an app has multiple authors specified.
This seems to be allowed? according to https://nextcloudappstore.readthedocs.io/en/latest/developer.html#info-xml (@BernhardPosselt)

The reason for this is the following line:
https://github.com/nextcloud/server/blob/master/settings/js/apps.js#L516

In case of multiple <author> in a appinfo/info.xml file, at the specified line, author is an array, instead of a string and therefore toLowerCase() fails.

One example app, which is using multiple <author>: https://gitlab.com/eneiluj/gpxpod-oc

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.low

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions