Skip to content

Enabling FRONTEND_ENABLE_FAVORITES throws error while requesting favourites in the UI #2273

Closed

Description

@AlexAndBear

Describe the bug

When setting FRONTEND_ENABLE_FAVORITES to true, we will get an error in the UI while requesting a list of favourites

Request
https://host.docker.internal:9200/remote.php/dav/files/admin
REPORT

<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
  <d:prop>
    <oc:permissions/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:file-parent/>
    <oc:name/>
    <d:lockdiscovery/>
    <d:activelock/>
    <oc:owner-id/>
    <oc:owner-display-name/>
    <oc:remote-item-id/>
    <oc:shareroot/>
    <oc:share-types/>
    <oc:privatelink/>
    <d:getcontentlength/>
    <oc:size/>
    <d:getlastmodified/>
    <d:getetag/>
    <d:getcontenttype/>
    <d:resourcetype/>
    <oc:tags/>
    <oc:audio/>
    <oc:location/>
    <oc:image/>
    <oc:photo/>
    <oc:has-preview/>
  </d:prop>
  <oc:filter-rules>
    <oc:favorite>1</oc:favorite>
  </oc:filter-rules>
</oc:filter-files>

Response
400 Bad Request

<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\BadRequest</s:exception><s:message>missing search-files tag</s:message></d:error>

Steps to reproduce

  1. Set env var FRONTEND_ENABLE_FAVORITES to true
  2. Open the WebUI
  3. Navigate to Favorites in the left sidebar
  4. See console logs

Expected behavior

Should not throw an error

Actual behavior

Throws an error

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

Details

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Activity

  1. moved this from Qualification to Prio <= 3 in OpenCloud Team Boardon Feb 5, 2026
  2. AlexAndBear commented on Feb 5, 2026

    @AlexAndBear
    MemberAuthor

    duplicate of #1633

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions