You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user navigates directly to the plot view of a telemetry point (this is the default view of a telemetry point) and attempts to annotate it, the annotation is not created, and an error appears in the JavaScript console
Expected vs Current Behavior
The annotation should be created and shown in the plot. Although Telemetry Points are immutable annotating them is expressly supported by our data architecture.
The issues is almost certainly occurring when we attempt to update the targetDomainObjectAnnotated timestamp on the Telemetry Object itself. We need some guard code to not attempt this if the object is immutable.
Steps to Reproduce
Navigate to a an immutable Telemetry Object (SWG won't work for this purpose, they are mutable)
You should see a telemetry plot.
Pause the plot and select some points to annotate.
In the inspector, click on the Annotations tab
Select a tag to add to the plot
Note that the selected tag does not get updated
Open the JavaScript console and observe the following error:
Object provider does not support saving
Should be reproducible with Open MCT-Yamcs
Environment
Open MCT Version: 2.1.6
Deployment Type: VIPER Test
Impact Check List
Data loss or misrepresented data?
Regression? Did this used to work or has it always been broken?
Is there a workaround available?
Does this impact a critical component?
Is this just a visual bug with no functional impact?
Does this block the execution of e2e tests?
Does this have an impact on Performance?
Additional Information
The text was updated successfully, but these errors were encountered:
akhenry
changed the title
[Plot] Unable to the plot view of a Telemetry Point
[Plot] Unable to annotate the plot view of a Telemetry Point
Jan 26, 2023
This is a different issue, but manifesting as the same problem. I'm assigning the namespace in AnnotationsAPI with the same value as the thing it's annotating. If using YAMCS, this is going to be taxonomy, which when saving, is going to throw an exception as the YAMCS object provider doesn't support saving. I think we've got at least three options:
Walk through the providers in the AnnotationsAPI and find the first provider that supports saving. Use that provider's keyspace for newly created annotations.
Use the MyItems namespace.
Use `` as the namespace (which is what MyItems uses as a default).
Have a plugin configuration that tells OpenMCT which provider to use for persisting annotations, e.g. in the Tags plugin.
Summary
When a user navigates directly to the plot view of a telemetry point (this is the default view of a telemetry point) and attempts to annotate it, the annotation is not created, and an error appears in the JavaScript console
Expected vs Current Behavior
The annotation should be created and shown in the plot. Although Telemetry Points are immutable annotating them is expressly supported by our data architecture.
The issues is almost certainly occurring when we attempt to update the
targetDomainObjectAnnotated
timestamp on the Telemetry Object itself. We need some guard code to not attempt this if the object is immutable.Steps to Reproduce
Should be reproducible with Open MCT-Yamcs
Environment
Impact Check List
Additional Information
The text was updated successfully, but these errors were encountered: