Peppermint-Lab / peppermint

An open source ticket management & help desk solution. A zendesk/freshdesk alternative
https://peppermint.sh
Other
1.77k stars 182 forks source link

Application errors when viewing new tickets #338

Closed jimmie-jam closed 2 weeks ago

jimmie-jam commented 3 weeks ago

I cant seem to figure this out. I have a fresh instance of Ubuntu server 22.04 and Peppermint.sh. When I (an admin), create a new ticket, I can edit the ticket, update and close it. When I use the guest portal, or create a standard user and submit a ticket, then try to edit it as my admin user account, the ticket errors with a generic, "The page has experienced a error," message.

Any thoughts?

Thanks!

potts99 commented 3 weeks ago

will look now @jimmie-jam

jimmie-jam commented 3 weeks ago

will look now @jimmie-jam

Hey @potts99,

Here is a more specific error. This is what I see when I create a ticket through the Guest Portal URL, and then try to view the ticket as an admin user, while logged in.

Application error: a client-side exception has occurred (see the browser console for more information).

Thanks for the help!

potts99 commented 3 weeks ago

Thanks @jimmie-jam that helps a lot

wildan82 commented 3 weeks ago

same here

Application error: a client-side exception has occurred (see the browser console for more information).

Error: initialContent must be a non-empty array of blocks, received: title

Mo187 commented 2 weeks ago

Im also having the same issue.

potts99 commented 2 weeks ago

is this on all tickets or tickets via the guest portal? @wildan82 @Mo187

potts99 commented 2 weeks ago

@Mo187 @wildan82 @jimmie-jam pushing a build that should help fix this error

jimmie-jam commented 2 weeks ago

@Mo187 @wildan82 @jimmie-jam pushing a build that should help fix this error

Awww yeah! Thanks, @potts99!

potts99 commented 2 weeks ago

fixed? @jimmie-jam

Mo187 commented 2 weeks ago

Hey @potts99 its fixed. thank you very much. There's another issue though, which i noticed on day 1 of using peppermint, when you click on different tickets to view them it will often display the wrong ticket title and number. I have reproduced this multiple times. For example : on these two screenshots you can see that the ticket with laptop is #1 but when i click on the email ticket #2 this is what it shows. Screenshot 2024-06-23 123440 Screenshot 2024-06-23 123554

potts99 commented 2 weeks ago

This is likely a caching issue @jimmie-jam, will take a look

jimmie-jam commented 2 weeks ago

fixed? @jimmie-jam

Same issue. I did a full reinstall with docker-compose and pulled all the updated files, but I received the same error. It only happens when I use the Guest Portal though. I did clear the cache and tried another browser that had not accessed the deployment, but the no change.