Nextcloud IOS App crashes when opening svg image created using Mermaid Live Editor
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
- Upload SVG to Nextcloud server (I created an SVG using the Mermaid Live Editor)
- Open the file on Nextcloud IOS
Expected behaviour
Either the image opens, is downloaded to the device, or is shown an error.
Actual behaviour
App crashes instead of opening file
Logs
Server log containing relevant info:
{"reqId":"203FizwzUiCut2ciifNj","level":0,"time":"October 04, 2022 13:40:15","remoteAddr":"<redacted>","user":"<redacted>","app":"core","method":"GET","url":"/index.php/avatar/<username_but_redacted>/256","message":"Avatar requested in deprecated size 256","userAgent":"Nextcloud/4.4.4 (it.twsweb.Nextcloud; build:0; iOS 16.0.0) Alamofire/5.6.2","version":"24.0.1.1"}
Reasoning or why should it be changed/implemented?
App breaks when performing what normal user would think is a simple action.
Environment data
iOS version: iOS 16.0.0
Nextcloud iOS app version: 4.4.4.0
Server operating system: Debian, running via Docker
Web server: nginx
Database: mariadb 10.5
PHP version: 8.0.18
Nextcloud version: 24.0.1.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash by uploading a Mermaid Live Editor SVG to the Nextcloud server and opening it in the iOS app using the reported versions. Start by examining the iOS client’s crash output; the supplied server log does not identify the failing code path. Done means the SVG opens, downloads, or produces an error without crashing.
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