platform
platform copied to clipboard
StaticCaption trim bug
If you write code like this:
CLASS SomeClass { FIELD 'field ' }
then with each start, a log entry will appear:
Renaming static object with id 67520 - Features.SomeClass 'SomeClass' [Features(3598:1)] to field
This is because staticCaption is of type BPISTRING:
staticCaption '{system.static.caption.object}' = DATA BPISTRING[100] (StaticObject) TABLE staticObject IN id;
In other words, staticCaption ignores all trailing spaces when writing, but each time it tries to rename.