Closed daniel-b2c2 closed 4 months ago
Hi @daniel-b2c2, thanks for posting the question, and we're sorry for overlooking this for two weeks.
I quickly tried to reproduce this issue on my end, but I haven't managed to see the same yet. If you could share an exact way to reproduce it (e.g., code snipeet, Block Kit JSON data), I may be able to check it out. With the given information so far, I don't think this could happen with normal use cases, so your situation might be a kind of an edge case. If you're using the rich text blocks in an unsual way, the iOS/Android app may not be able to recognize it correcty. Revising your Block Kit inputs would be worth trying.
Also, it seems that this is not an issue specific to Java SDK, so if you're fine with communicate with our customer support team only using Block Kit JSON data (meaning no Java code snippet), they can help you out too in a more timely manner.
I hope this helps.
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.
I have specified fallback text via the
.text()
method, yet the text displayed in the Activity section for my bot's post shows 'Unable to show preview. Tap to see the original message' I would expect this for rich text with a missing fallback, but not when the fallback is specified.Reproducible in: None
The Slack SDK version
(Paste the output of
mvn dependency:tree | grep com.slack.api
orgradle dependencies | grep com.slack.api
) 1.38.1Java Runtime version
(Paste the output of
java -version
)openjdk version "11.0.20.1" 2023-08-24 OpenJDK Runtime Environment Homebrew (build 11.0.20.1+0) OpenJDK 64-Bit Server VM Homebrew (build 11.0.20.1+0, mixed mode)
OS info
(Paste the output of
sw_vers && uname -v
on macOS/Linux orver
on Windows OS) ProductName: macOS ProductVersion: 14.3 BuildVersion: 23D56Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., pom.xml/build.gradle))
Expected result:
As a slack mobile user, on the Activity panel, selecting All (where the above text results in a keyword notification for me) to show the fallback text "Ancient Version Report: 2 items reported'"
Actual result:
On the slack mobile app, on the Activity panel, an entry is displayed, but the text is summarised as "Unable to show preview. Tap to see the original message". I would expect this to happen if I had not provided the fallback text, but the
.text()
method suggests that I have.Requirements
Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.