Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing via Share from the Amazon App crashes the app #1826

Closed
1 task done
andybalaam opened this issue Jan 14, 2025 · 1 comment · Fixed by #1830
Closed
1 task done

Importing via Share from the Amazon App crashes the app #1826

andybalaam opened this issue Jan 14, 2025 · 1 comment · Fixed by #1830

Comments

@andybalaam
Copy link
Contributor

Which version of floccus are you using?

v5.4.2

How many bookmarks do you have, roughly?

5

Are you using other means to sync bookmarks in parallel to floccus?

no

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Found in a Galaxy A14, and reproduced in an emulator

Which version of Nextcloud Bookmarks are you using? (if relevant)

15.0.4

Which version of Nextcloud? (if relevant)

30.0.4

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

When sharing from the Amazon shopping app, the title information is stuffed into the URL box as well as the URL. Saving in this state causes the app to crash later on, when trying to display the hostname in the tree.

I've attached a logcat from the debugger in Android Studio:
floccus-log-2025-01-24.txt

Expected Behavior

  1. I would expect the title and URL to be correctly separated and placed into their respective fields
  2. I would expect a bad URL not to crash the app.

To Reproduce

  • Open the Amazon Shopping app
  • Navigate to a product
  • Tap "share"
  • Choose to share to "floccus bookmarks"
  • In floccus, choose the folder to save to and hit Save (notice that the URL contains both the title and then the URL)
  • Hit Save
  • Open floccus app
  • Navigate to the folder you chose above
  • The folder does not open
  • Observe that floccus has stopped working: other actions also have no effect

Debug log provided

  • I have provided a debug log file
@andybalaam andybalaam added the bug label Jan 14, 2025
Copy link

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus a few years ago, maintaining it ever since. I currently work for Nextcloud
which leaves me with less time for side projects like this one than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
To continue the development and maintenance of this project in a sustainable way I ask that you donate to the project when opening an issue
(or at least once your issue is solved), if you're not a donor already.
You can find donation options at https://floccus.org/donate/. Thank you!

One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the Nextcloud forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

I look forward to working with you on this issue
Cheers 💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants