platform icon indicating copy to clipboard operation
platform copied to clipboard

StaticCaption trim bug

Open ichavchavadze opened this issue 1 year ago • 0 comments

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.

ichavchavadze avatar Oct 02 '24 08:10 ichavchavadze