codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
25 stars 24 forks source link

[Bug] - Reply functionality breaks for solidcommunity.net (NSS) #478

Closed leekahung closed 8 months ago

leekahung commented 8 months ago

Bug Description:

While the reply functionality seems to work for the local pod server at localhost:3000 which utilizes CSS, it seems like solidcommunity.net which utilizes NSS breaks. This is likely due to the fact that the slug used for CSS is not accepted by NSS. I've deduced this out by sending a message to myself in both cases with the same title and reply. The area where it breaks was right when the message would be saved to the pod (Line 368 from session-helper.js). If I were to change the slugSuggestion manually to "test.ttl", the reply message works just fine.

Reproduction Steps:

1. Login to PASS using solidcommunity.net 2. Go to messages
3. Send reply to one of the messages 4. See error

Expected Behavior:

To send a reply without error like it does with localhost:3000 (See clip below)

Screenshots (If applicable):

https://github.com/codeforpdx/PASS/assets/14917816/b2ef85e2-4587-478a-9ce4-1eb406fcab0e

(Testing with slugSuggestion to being just "test.ttl")

https://github.com/codeforpdx/PASS/assets/14917816/265f1866-0ceb-4b06-8db7-351fe29e9d40

(Message send in Inbox at solidcommunity.net)

Screen Shot 2023-10-23 at 22 02 34

Possible Solution (optional):

Adjust the slug such that it works for both CSS and NSS.