Closed agramian closed 9 years ago
@agramian Fix has been pushed. Never noticed this before as the form normally records an empty string as the value.Out of interest, did you create the test plan via the API?
@joffems yes i created via the API Is it possible to this to occur on other views like test plans where the truncate method is used?
This can definitely occur on other pages. I'm going to have to do a search for .truncate( and then fix all the possible NPE exceptions.
@agramian I went digging through the code and I don't believe that this issue should occur anywhere else. Closing for now. Please re-open if you hit another issue.
If no description is entered for a stencil (description is NULL in the database), the view fails to render with the following error.
The truncate method shouldn't be called unless a string is present, or the default value for the description field should be an empty string.