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
When trying to add a divider/border below the caption of a photo, it should be rendered and be added.
Actual behavior
Upon trying to add a divider/border below the caption of a photo, the app crashes.
How to reproduce
Tap the "+" button and select "Blog".
Add the title of the post.
Upload a photo.
After the photo has been uploaded successfully, add a caption.
Now, tap the icon that is composed of two lines - first line is horizontal line and the next line is a horizontal line that is broken.
After tapping that icon, the text box would show "Type here...", delete those texts.
Then, tap again the icon for divider/border and after that, the issue occurs for which the app crashes.
Logcat Report
09-06 14:47:26.180 7770 7770 E AndroidRuntime: FATAL EXCEPTION: main
09-06 14:47:26.180 7770 7770 E AndroidRuntime: Process: com.hapramp, PID: 7770
09-06 14:47:26.180 7770 7770 E AndroidRuntime: java.lang.IndexOutOfBoundsException: index=2 count=1
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addInArray(ViewGroup.java:4760)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addViewInner(ViewGroup.java:4681)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addView(ViewGroup.java:4495)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.ViewGroup.addView(ViewGroup.java:4436)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at xute.markdeditor.MarkDEditor.insertHorizontalDivider(MarkDEditor.java:319)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at xute.markdeditor.EditorControlBar$5.onClick(EditorControlBar.java:158)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.View.performClick(View.java:5721)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:22620)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
09-06 14:47:26.180 7770 7770 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Expected behavior
When trying to add a divider/border below the caption of a photo, it should be rendered and be added.
Actual behavior
Upon trying to add a divider/border below the caption of a photo, the app crashes.
How to reproduce
+
" button and select "Blog".Type here...
", delete those texts.Logcat Report
Environment
Recording of the Bug
https://www.youtube.com/watch?v=T2TrpaTFGIM
The text was updated successfully, but these errors were encountered: