Implement negative testing for the RAW attribute 'LENGTHTO'
Submitted by Botond Baranyi
Link to original bug (#566562)
Description
Currently the RAW variant attribute 'LENGTHTO' (or any other variant) does not work if any of the fields mentioned in the variant have erroneous attributes. If the erroneous attributes change or omit the value of the field, then a coding error is displayed. If the erroneous attributes add new data before or after the field, then this data is not considered when calculating the length.
How it should work: The length should be calculated based on the final value of the mentioned fields (after they have been altered by erroneous attributes). Fields omitted by erroneous attributes are ignored when calculating length (i.e. their length is zero). New data added before or after any of the mentioned fields by erroneous attributes should also be added to the length calculation.
Version: 7.1.0