Closed klauer closed 4 years ago
cc @slacAWallace
First impression is that this is a good solution for the "I accidentally make my DESC field way too long" problem. I'll review the code during this FEE tailgate.
Thanks, @ZLLentz. Package lint is failing while tests are passing; will merge regardless.
Automatic "middle" truncation of DESC field has been in place for the default description, as follows:
GVL_GMD.fb_EM1K0_GMD_PRT_40.stPump.i_xAlarmOK
would become a description ofads:GVL_GMD.fb_EM1K0...stPump.i_xAlarmOK
to fit within the 40 character field limit. This PR removes theads:
prefix, which further shortens the displayable characters.The above was not generically applied to user-specified descriptions. This caused many instances of db parsing failures on IOC boot.
Rather than do as suggested in #196 making this either a warning/error, the DESC field itself is truncated silently, but also included in full-form as a comment in the database file.
Before
After
Closes #196