githubbob42 / mingle2github2

0 stars 1 forks source link

Helpful error message not displayed when errors generating html/xml report #5807

Open githubbob42 opened 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 6173 Steps to Reproduce

| | |
|-|-|
|**Version #**|4269|
|**Hardware**| |
|**OS**|iOS and Windows|
|**Browser**|Safari and Chrome|
|**Username**|

orgsupport@capstonefire.com.fullsb (Sandbox Back Office)

lfwtest@mailinator.com.fullsb (Mobile Sandbox)

   |
|**Password**|Use LastPass|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  1. Login in to Back Office Sandbox
  2. Click Report Templates
  3. Click “Ticket Log” report template
  4. In the FX Report Template section, click “Make Active” for the older attachment with Created Date of 1/24/19 8:19AM.!clip-5d9b-fd54.png!
  5. Login to FieldFX Sandbox as mobile user
  6. Click Tickets
  7. Select the 2nd ticket (T-14111)
  8. Click Reports
  9. Error results: “There was an error generating the report.  Type Error: Cannot redefine property: null”
  10. Similar error was returned when HTML Time Sheet report template had an issue:

{{CreatedBy.FirstName}}  {{CreatedBy.LastName}}  did not work and needed to be replaced with   {{userProfile "FullName"}}

Expected Result

It would be helpful if error message mentioned which portion of the template or which element was causing the error, so that the user would have a better idea of what needed to be corrected.

Actual Result

Exception returned with error message that is not helpful to determining which part of the report template needs to be corrected.

!clip-1a08-0367.png!

Analysis

Related Cards

Impact Analysis

Developers: Fill in this area during code review.

Test Plan