Skip to content

Conversation

@rjwills28
Copy link
Collaborator

While testing a previous change in the bobParser I noticed that I was getting warnings in the console that a property could not be parsed. This didn't cause errors in the application as the property was optional.

Screenshot from 2025-02-06 09-16-32

The problem is that a BOB file generated from Phoebus by default does not include the alarm_sensitive_border property. By default this is assumed to be true and so the property is only added if the user sets it to false.

I've added a separate bobParser version to use instead of the opiParser version. Also updated the tests to make sure the default version is reflected correctly.

TESTING: To test with and without this fix, use a BOB file generated by Phoebus that contains a TextUpdate widget.

The default in BOB from Phoebus is not to include this property and default
to 'true'. The property is only added if false.
Copy link
Collaborator

@abigailalexander abigailalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and this fixes the issue mentioned, looks good to me.

@rjwills28 rjwills28 merged commit ea23657 into master Feb 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants