Open
Description
/contacts
- Create Contact
- Enter required data
- Enter
new_company
in Account field - Submit Form
consequences:
- an alertBox with the content error appears
- the contact is created without proper user feedback
- the account is not created
- the following error comes up:
Rendered /Users/dkd-luedicke/.rvm/gems/ruby-2.2.4/bundler/gems/fat_free_crm-348ff2d77b41/app/views/contacts/_index_brief.html.haml (31.4ms)
Rendered /Users/dkd-luedicke/.rvm/gems/ruby-2.2.4/bundler/gems/fat_free_crm-348ff2d77b41/app/views/contacts/_contact.html.haml (50.0ms)
Rendered /Users/dkd-luedicke/.rvm/gems/ruby-2.2.4/bundler/gems/fat_free_crm-348ff2d77b41/app/views/contacts/create.js.haml (77.9ms)
ActionView::Template::Error (No route matches {:action=>"show", :controller=>"accounts", :id=>#<Account id: nil, user_id: 32, assigned_to: nil, name: "new_account", access: "Public", website: nil, toll_free_phone: nil, phone: nil, fax: nil, deleted_at: nil, created_at: nil, updated_at: nil, email: nil, background_info: nil, rating: 0, category: nil, subscribed_users: #<Set: {}>, cf_ustidnr: nil, cf_phone_2: nil, cf_phone_2_2: nil, cf_day_rate: nil, cf_payment_method: nil, cf_status: nil, cf_type: nil, custom_system_client_id: nil>} missing required keys: [:id]):
16: .indentslim
17: = link_to_if can?(:read, contact), contact.full_name(@current_user.preference[:contacts_naming]), contact
18: %tt
19: = brief_account_info(contact)
20:
21: - if (lead = contact.lead) and lead.referred_by?
22: –