Skip to content

Face merge fails with 404 - Frontend sends incorrect filename in MOVE request #1437

@jontxudino

Description

@jontxudino

Which version of recognize are you using?

10.0.7

Enabled Modes

Face recognition, Object recognition

TensorFlow mode

Normal mode

Downstream App

Photos App

Which Nextcloud version do you have installed?

32.0.3

Which Operating system do you have installed?

Ubuntu 22.04

Which database are you running Nextcloud on?

MariaDB

Which Docker container are you using to run Nextcloud? (if applicable)

10.11.13

How much RAM does your server have?

12GB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

When trying to merge faces using "Merge with different person", the operation fails with "Failed to move X to person Y".

The WebDAV endpoint exposes files as {detection_id}-{filename} but the frontend only uses {filename}.

Expected Behavior

The frontend sends a MOVE request without the detection ID prefix in the filename:

  • Sends: /faces/10/20251224_140845.jpg
  • Should send: /faces/10/39-20251224_140845.jpg

The WebDAV endpoint exposes files as {detection_id}-{filename} but the frontend only uses {filename}.

To Reproduce

  1. Go to Photos → People
  2. Click on an unnamed face cluster
  3. Click "Merge with different person"
  4. Select a named person
  5. Operation fails

Debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions