Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StaticCaption trim bug #1283

Open
ichavchavadze opened this issue Oct 2, 2024 · 0 comments
Open

StaticCaption trim bug #1283

ichavchavadze opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ichavchavadze
Copy link
Collaborator

ichavchavadze commented Oct 2, 2024

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 ichavchavadze added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New
Development

No branches or pull requests

1 participant