Error when using "Attach & Send Email" functionality on a Proposal [List index out of bounds: 0 Error is in expression '{!sendEmail}' in component in page bmxq:enduserproposal: (BMXQ)]

(Doc ID 2110180.1)

Last updated on MARCH 08, 2016

Applies to:

Oracle BigMachines Express CPQ Cloud Service for Salesforce.com - Version Winter 16 and later
Information in this document applies to any platform.

Symptoms

When attempting to use the "Attach & Send Email" functionality on a Proposal, the following error occurs:

List index out of bounds: 0
Error is in expression '{!sendEmail}' in component <apex:commandButton> in page bmxq:enduserproposal: (BMXQ)



The issue can be reproduced at will with the following steps:

  1. Navigate to Proposal for a Quote
  2. Click "Attach & Send Email"
  3. Note error


Due to this error, Sales users cannot use "Attach & Send Email" functionality to directly email Proposals from within Express CPQ.

Changes

 The "Express_Proposal" Email Template (found in Setup > Communication Templates > Email Templates) was recently deleted.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms