Creating Account from Lead with no email fails
Reported by Scott Miller | April 23rd, 2009 @ 08:03 AM | in 0.9.7 "Steinitz"
If you have a lead with a missing email address, which you then convert to an account, it causes RJS errors and the account page won't load (looks like something to do with the gravatar.)
Comments and changes to this ticket
-
Mike Dvorkin May 6th, 2009 @ 04:08 PM
- State changed from new to hold
Can't reproduce this one, tried with both MySQL and Sqlite. I created a new lead with no email address, then converted it to a contact (with both new and existing account). Everything seems to work OK, no RJS errors.
If you could double check with the HEAD that would be great.
-
Scott Miller May 6th, 2009 @ 07:15 PM
Sorry I should have been more clear. The contacts index page fails with a null value in the email column:
TypeError in Contacts#index
Showing app/views/contacts/_contact.html.haml where line #2 raised:
can't convert nil into String Extracted source (around line #2):
1: %li[contact]{ highlightable(dom_id(contact, :tools)) } 2: = gravatar_for(contact, :size => "30x30", :default => "#{request.protocol + request.host_with_port}/images/avatar.jpg") 3: %div 4: .tools{ invisible, :id => dom_id(contact, :tools) } 5: %small
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond