[T7516] fix get_attributes user data.

Merged Joel Maglioni requested to merge T7516 into 17.0-stage

Merge request reports