Skip to content

MeasuredValue AxisType null is turned into AxisType.X_AXIS when read back from ods

Bugzilla Link 573801
Status NEW
Importance P3 normal
Reported May 27, 2021 03:58 EDT
Modified Jun 28, 2021 04:55 EDT
Version M8
Reporter Marcel Rüedi

Description

Given measuredValues for a channel with the axistype set to null,

WriteRequest.create(channelGroup, channel, null);

When reading the MeasuredValues

ReadRequestBuilder readRequestBuilder = ReadRequest.create(channelGroup).channels(singletonList(channel));
ReadRequest values = readRequestBuilder.values(0);
assertThat(entityManager.readMeasuredValues(values).get(0).getAxisType()).isNull();

the axistype should be null in the MeasuredValues , but is AxisType.X_AXIS