ID 281416 - `DataBuilder<ATTR>::update()` function calls non-existent `DataAttribute::getSampleTimes()` function

Follow

Problem summary:

The DataBuilder<ATTR>::update() function in the FnAttribute/FnDataBuilder.h header file that's shipped with Katana uses a function named getSampleTimes() which doesn't exist in DataAttribute and its derived classes.

The attempted call of a missing function has an effect on the construction of DataBuilder instances from DataAttribute instances, which fails in the same way, as the constructor calls the update() function.

Steps to reproduce:

  • Attempt to call DataConstVector sampleTimes = attr.getSampleTimes(); from plug-in code.

Or:

  • Attempt to construct a DataBuilder instance from a DataAttribute instance:

FnAttribute::StringAttribute myAttr;
Foundry::Katana::StringBuilder myBuilder(myAttr);

Expected behaviour:

Plug-in compilation succeeds.

Actual behaviour:

Plug-in compilation fails.

Workaround:

No known workaround.

Reproduced versions/platforms:

  • 2.0v1

Customer version/platform:

Not supplied.

    We're sorry to hear that

    Please tell us why