Closed pyhsieh-cyberbiz closed 8 months ago
@pyhsieh-cyberbiz Is there any special markdown in any posts in that channel? We have a ticket open where the app crashes when displaying tables https://mattermost.atlassian.net/browse/MM-55972. Could this be what you're seeing?
@amyblais We do have a bot posting content with Markdown table to the channel regularly! Pasting one of the recent posts to another channel will trigger the error as well, but unlike MM-55972's case, we don't have unwanted blanks in the second header line, and we don't have empty cell in the table, neither. (Also, we didn't see any strange part in the post on web/desktop application)
Due to privacy issue we can't provide the content directly, but we'll figure out some minimum example with similar format later on.
@amyblais After few tests, we found that mobile version has different (default?) length limit on posts, which is lower compared to desktop/web version. When mobile app process a post that's longer than the limit, seems that it will cut off excessive text before parsing step. So any error could happen on processing incomplete table Markdown in the content.
If fortunate enough, the parser will still make it, and a warning message about post cutoff will show on the post. We're not that lucky but reducing post length (and keep the Markdown table intact) should help.
Summary
App crashes and requires relaunch when entering specific channel.
Environment Information
Steps to reproduce
Cannot reproduce, but it only occurs when entering one of the channels in our workspace.
Expected behavior
Successfully enter the channel and showing conversation in the channel.
Observed behavior (that appears unintentional)
App crashes with popup message showing error message, asking user to relaunch App and to report problem.
Log and error message (hostname and channel info are replaced with placeholders):