Exception when i edit confirmation email #69

Closed
keram opened this Issue Mar 9, 2012 · 6 comments

Comments

Projects
None yet
7 participants
Contributor

keram commented Mar 9, 2012

Maybe is something wrong on my app, but maybe somebody other can confirm this..
After click on Save get this exception and nothing is changed.
Same exception when i edit list of notified email adress. Here exception raised but email list ist changed .).

refinery version: 2,
log:

Started PUT "/refinery/inquiries/settings/inquiry_confirmation_body?dialog=true" for 188.175.134.99 at 2012-03-09 18:39:04 +0100
Processing by Refinery::Inquiries::Admin::SettingsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"PXdy7wFv4/f6JrDrylT5dnlGxuEHJyQ9EDMH4lAvLjc=", "subject"=>[{"sk"=>"Thank you for your inquiry", "cs"=>"Thank you for your inquiry", "en"=>"Thank you for your inquiry"}], "message"=>[{"sk"=>"-t- Thank you for your inquiry %name%,\r\n\r\nThis email is a receipt to confirm we have received your inquiry and we'll be in touch shortly.\r\n\r\nThanks.", "cs"=>"Thank you for your inquiry %name%,\r\n\r\nThis email is a receipt to confirm we have received your inquiry and we'll be in touch shortly.\r\n\r\nThanks.", "en"=>"Thank you for your inquiry %name%,\r\n\r\nThis email is a receipt to confirm we have received your inquiry and we'll be in touch shortly.\r\n\r\nThanks."}], "modal"=>"true", "dialog"=>"true", "id"=>"inquiry_confirmation_body", "locale"=>:sk}
Completed 500 Internal Server Error in 382ms

ActionView::MissingTemplate (Missing template pages/show with {:locale=>[:sk, :en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. Searched in:

I am getting a similar error. It looks like it is trying to return to the view for the settings tab instead of the view inquiries tab. Save save to the database works, but the view fails to render.

Contributor

csmrmn commented Mar 15, 2012

I also get this problem, and a similar error when updating the notification recipient setting

ghoppe commented Mar 15, 2012

I can confirm my error is similar when trying to edit the notification recipients:

Template is missing

Missing template refinery/inquiries/admin/settings/index, refinery/admin/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}.

Owner

ugisozols commented Mar 15, 2012

Thank you guys for reporting this. I'll work on this asap.

ugisozols was assigned Mar 15, 2012

zapnap commented Mar 16, 2012

Just ran into this also. Thanks for working on it.

ugisozols closed this in fa5c965 Mar 20, 2012

ugisozols reopened this Mar 20, 2012

Owner

parndt commented Mar 22, 2012

Fixed by #72

parndt closed this Mar 22, 2012

@ghost ghost pushed a commit to tortus/refinerycms-inquiries that referenced this issue May 18, 2012

@ugisozols @parndt ugisozols + parndt Refactor admin settings controller and re-enable commented request sp…
…ecs. Should fix #69.
573627d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment