Set an image for Centric CRM 4.1 (Stable and Released)

Sign In or Register

Centric CRM 4.1 (Stable and Released)

Core Team
PUBLIC PROFILE

Assignment

Priority:
Assigned To: unassigned

Ticket # 165

This ticket is open
Severity: Normal
Category: Functionality
Entered by: Enrique Mogollan 9/21/2007, 7:18 AM
Last modified: Enrique Mogollan 9/21/2007, 7:18 AM

Description

My Home Page - Pending Activities - Phone - Centric generates an HTML <option> with ALL the phone numbers from the table contacts.

When you Schedule an activitie for an account without selecting a contact (leaving " --none--" as contact)

Technical Data:
I found this on the CallList.java bean..

Contact thisContact = new Contact();
thisContact.setId(thisCall.getContactId());
thisCall.setContact(thisContact);
}else if(thisCall.getFollowupContactId()>0){
Contact thisContact = new Contact();
thisContact.setId(thisCall.getFollowupContactId());
thisCall.setContact(thisContact);
}
....
there is no else after the else if, so a new blank Contact is attached to the Call (with Id -1 by default)

Suggestion:
For a quick patch I change the calendar_call_events_include.jsp, I just added:
<% if(pendingCall.getContact().getId()>0){ %>
<% if (pendingCall.getContact().getPhoneNumberList().size() > 1) { %>
<%= pendingCall.getContact().getPhoneNumberList().getHtmlSelect("contactphone", -1) %>
...
<%}%>

This just disable the build of the HTML option/select of the phone numbers when there isn't any valid contact.

Solution

A solution hasn't been entered

File Attachments

There are no file attachments

Ticket Activity

Date Event
Enrique Mogollan 9/21/2007, 7:18 AM [ Ticket Opened ]
Enrique Mogollan 9/21/2007, 7:18 AM [ Ticket is unassigned ]
Enrique Mogollan 9/21/2007, 7:18 AM [ Severity set to Normal ]
Distribution List
Enrique M.