You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the mobile Android NOTES app, I selected the LINK option.
Then I saw a pop up coming up.
Expected behavior
Add a link
Notes Android version
4.3.1
Notes server version
Latest
Nextcloud Android version
Latest
Nextcloud version
Latest
Device
Pixel 5
Android Version
Latest
App Store
Google Play Store
F-Droid
Huawei App Gallery
Stacktrace
App Version: 4.3.1
App Version Code: 40030192
App Flavor: play
Files App Version Code: 30300790 (PROD)
---
OS Version: 4.19.278-g7b0944645172-ab10812814(11260668)
OS API Level: 34
Device: redfin
Manufacturer: Google
Model (and Product): Pixel 5 (redfin)
---
java.lang.IndexOutOfBoundsException: charAt: 402 >= length 402
at android.text.SpannableStringBuilder.charAt(SpannableStringBuilder.java:125)
at it.niedermann.android.markdown.MarkdownUtil.insertLink(MarkdownUtil.java:535)
at it.niedermann.android.markdown.controller.applier.LinkCa.applyCommand(LinkCa.java:18)
at it.niedermann.android.markdown.controller.Command.lambda$applyCommand$0(Command.java:71)
at it.niedermann.android.markdown.controller.Command$$ExternalSyntheticLambda0.apply(D8$$SyntheticClass:0)
at java.util.Optional.map(Optional.java:260)
at it.niedermann.android.markdown.controller.Command.applyCommand(Command.java:71)
at it.niedermann.android.markdown.markwon.MarkwonMarkdownEditor.executeCommand(MarkwonMarkdownEditor.java:314)
at it.niedermann.android.markdown.markwon.format.AbstractFormattingCallback.onActionItemClicked(AbstractFormattingCallback.java:91)
at android.widget.Editor$TextActionModeCallback.onActionItemClicked(Editor.java:4739)
at com.android.internal.policy.DecorView$ActionModeCallback2Wrapper.onActionItemClicked(DecorView.java:2703)
at com.android.internal.view.FloatingActionMode$3.onMenuItemSelected(FloatingActionMode.java:97)
at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:788)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:935)
at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:925)
at com.android.internal.view.FloatingActionMode.lambda$setFloatingToolbar$0(FloatingActionMode.java:122)
at com.android.internal.view.FloatingActionMode.$r8$lambda$GLgk8deM4E5TWGJBQ3xBpWWp_5A(Unknown Source:0)
at com.android.internal.view.FloatingActionMode$$ExternalSyntheticLambda0.onMenuItemClick(Unknown Source:2)
at com.android.internal.widget.floatingtoolbar.LocalFloatingToolbarPopup$2.onClick(LocalFloatingToolbarPopup.java:177)
at android.view.View.performClick(View.java:7659)
at android.view.View.performClickInternal(View.java:7636)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:30156)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
The text was updated successfully, but these errors were encountered:
Nextcloud developers (which I am not one of) need more information - please edit your issue to be much more specific than this. You need to provide exact steps to reproduce (see this FAQ entry for an example), and you need to provide actual version numbers instead of "latest". This makes your report more useful now (how do we know that you haven't failed to receive an update for some reason? Or if you're part of a staged rollout?) and in the future ("latest" isn't very helpful 2 months from now).
This issue respects the following points:
Describe the bug
On the mobile Android NOTES app, I selected the LINK option.
Then I saw a pop up coming up.
Expected behavior
Add a link
Notes Android version
4.3.1
Notes server version
Latest
Nextcloud Android version
Latest
Nextcloud version
Latest
Device
Pixel 5
Android Version
Latest
App Store
Stacktrace
The text was updated successfully, but these errors were encountered: