nextcloud / nextcloud/ios

Metadata data deleted from uploaded images

Open
#1,825 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Add caption to a photo (live or jpeg) in photos.app of iOS by pressing on the (i) icon and pulling the picture up
  2. Upload the photo via Nextcloud iOS app to a folder of your choice
  3. Check the uploaded file in a software with metadata capability and realize, that the IPTC metdadata (like caption or title) have been deleted
Expected behaviour

No deletion of any metadata from uploaded files

Note: The expected behavior does occur when the upload happens directly from the photos.app of iOS via the integrated share option - this is not the preferred method, since it requires manual navigation to the desired folder instead of using automatic upload or choosing a Favorite via the Nextcloud app.

Actual behaviour
  1. As mentioned in the steps to replicate, IPTC data gets deleted.
  2. This affects manual and automatic uploads via the app
  3. It is is not depending on the compatibility settings ("Maximum compatibility" or "Live Photo" - the behavior is the same no matter what)
Screenshots

After upload via Nextcloud iOS app
Screenshot 2021-12-17 at 21 29 19
After upload via sharing function to Nextcloud from iOS Photos.app
Screenshot 2021-12-17 at 21 29 09

Reasoning or why should it be changed/implemented?

It seems to have been working before and there is no user intention of having metadata deleted.

Environment data

iOS version: iOS 15.1

Nextcloud iOS app version: 4.1.0.17

Server operating system: Debian 10 "Buster"

Web server: nginx

Database: mariaDB

PHP version: 8

Nextcloud version: 23.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upload through the Nextcloud iOS app using a photo with IPTC caption or title metadata, then compare it with the Photos.app share upload that preserves the metadata. Trace the manual and automatic upload flows and verify that compatibility settings do not change the result. Done means uploaded images retain their IPTC metadata.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.