App crash viewing markdown with image with empty link #1233
Labels
No labels
⌚ Major-release
⌚ Minor-release
⚔️ Wontfix
⚙️ CI
⛏️ Breaking
✅ Fixed
✨ Duplicate
❌ Invalid
❓ Question
❤️ Support
➡️ Frontport
➡️ Needs-frontport
🔙 Backport
💭 Brainstorming
🐛 Bug
🔭 Cannot-reproduce
🧺 Cleanup
🧾 Confirmed
💬 Discussion
📄 Documentation
🎯 Enhancement
🩹 External-dependecy
📱 F-droid
🎉 Feature
👋 Good-first-issue
🤾 Google-play
🔙 Has-backport
🚀 Improvement
🚨 Investigate
🌠 Long-term
🔙 Needs-backport
🧺 Needs-cleanup
📡 Needs-feedback
📈 Performance
📌 Priority-critical
📌 Priority-high
📍 Priority-low
📍 Priority-medium
🥑 Ready
🪒 Refactor
🔙 Regression
📸 Release
🔒 Security
💡 Suggestion
🧪 Testing
🌐 Translation
💻 UI/UX
🪜 Upstream
🟦 Website
🙇♂️ Needs-help
🛰️ API-dependency
🛡️ Blocked
🏗️ Build
🗒️ Changelog
🗄️ Repository
🗓️ Summary
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#1233
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
# Describe your matter briefly
I tried to view an issue where the creator had mentioned it to me and closed it, and when the view started to display, it shows a simple list of comments, but apparently when it starts to display each comment, the application crashes. The issue mentioned is this.
Before the last comment, I could see the issue with the app.
The crash occurs if I enter from the notification list or directly from the issue tracker.
What did you expect?
The issue finished to load and show all the comments as usual.
Some additional details
The version of Gitea you are using:
Forgejo (Codeberg) 1.18.0+50-g5a46a564
The version of GitNex you are using:
4.5.0 / 450
Source of installation (Play Store, F-Droid, APK):
F-Droid
Current android version and phone model/manufacturer:
7.1.2 Redmi Note 5A Prime/Xiaomi
The type of certificate your instance is using (self-signed, signed):
signed
How you used to log in (via password or token):
token
We would appreciate some screenshots or stacktrace's, but this is also not required.
Thank you.
Can reproduce wiith the given link. Stacktrace:
I also can reproduce it.
So I tried to debug this issue and found the following.
1- The crash is happening in comments.
2- The crash is coming from
Markdown.java
using the Picasso plugin.3- The path to image is incomplete and thus Picasso cannot load the image and hence the crash occur.
See the attached images.
Weird that your attached images have the URL with protocol, domain et all and the inserted ones in the comment in question don't.
Thanks for explaining.
On this, I think it should be fixed upstream instead of us just applying patches. That's the best way forward and it will be the same as web ui too.
App crash viewing a closed issue with a direct mention to meto App crash viewing markdown with image with empty linkHi this was 10 months ago any news on this? if not please close it!
Hi, this is tagged as
upstream
, and the conversation explains why. If it is fixed, please share a link or pull request.Closing it or keeping it open will not change anything in the upstream project. However, let's keep it open for now.