Peppermint-Lab / peppermint

An open source issue management & help desk solution. A zendesk & jira alternative
https://peppermint.sh
Other
2.09k stars 228 forks source link

Application errors when viewing new tickets #338

Closed jimmie-jam closed 5 months ago

jimmie-jam commented 5 months 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 5 months ago

will look now @jimmie-jam

jimmie-jam commented 5 months 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 5 months ago

Thanks @jimmie-jam that helps a lot

wildan82 commented 5 months 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 5 months ago

Im also having the same issue.

potts99 commented 5 months ago

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

potts99 commented 5 months ago

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

jimmie-jam commented 5 months ago

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

Awww yeah! Thanks, @potts99!

potts99 commented 5 months ago

fixed? @jimmie-jam

Mo187 commented 5 months 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 5 months ago

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

jimmie-jam commented 5 months 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.

aclebre commented 4 months ago

I'm having the same issue. I, as the admin, can't edit, assign, or practically do anything with tickets after they are created. Even when I create them as the admin I still can't access them. When I click on any part of the ticket it gives me the "Application error: a client-side exception has occurred (see the browser console for more information)." I'm running peppermint in Linode if that makes a difference.

Spectroxx commented 3 months ago

I am also experiencing the same issue. It seems when a ticket is created via the Guest Portal URL, no one is assigned the ticket that is generated and even the admin user is not able to view/manage the ticket.

Legomountain14 commented 2 months ago

Still getting this through the guest portal. @potts99

partha51613 commented 2 months ago

I am still getting this error