Support Ticket is not working

The first few lines of the error I received:

#<StandardError: No support ticket service class configured>
/var/www/ood/apps/sys/dashboard/app/models/user_configuration.rb:131:in support_ticket_service' /var/www/ood/apps/sys/dashboard/app/controllers/support_ticket_controller.rb:44:in create_service_class’
/var/www/ood/apps/sys/dashboard/app/controllers/support_ticket_controller.rb:16:in `new’

My configuration for Support Ticket:

support_ticket:
  attributes:
    email:
      required: true
    subject:
      value: "OnDemand Problem: "
  form:
    - email
    - subject
    - department

Any idea what’s wrong? Thanks.

Hi, sorry for the issue. What OS are you on and what version of OOD?

Looking at how this is implemented I’m not sure what is going wrong here. The line that is failing in the /var/www/ood/apps/sys/dashboard/app/models/user_configuration.rb is:

...
return SupportTicketEmailService.new(support_ticket) if support_ticket[:email]
...

But it seems like the email is not seen by the support_ticket[:email] somehow and raises an error.

I’ll have to play with this on my end to try and see if this is a bug or if the docs are missing steps to this.

Hi Travis,

The OS is RedHat 8.7 and OOD is 3.0.1.

Thanks,

Ping

You’re missing the email section under support_ticket.

support_ticket:
  email:
    to: johrstrom@osc.edu
    # ...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.