Skip to content

Ns10 bug

Afonso Mukai requested to merge ns10-bug into release-2.1.0

Created by: mkoennecke

Issue

DM-1905

Description of work

When implementing a NICOS CacheStream I hit a problem that the NicoscachReader.cpp refused to write data. The issue is that it got a NX_class attribute from the NICOS passed json but still tried to set NX_class itself. This made him baulk at a duplicate attribute and refuse to write because it thought the structure is wrong.

I modified src/schemas/ns10/NicosCacheWriter.cpp around line 70 to check for NX_class after writing the attributes from the json and add a NX_class attribute only when it is not present. This mirrors the logic in f142_rw.cpp.

Nominate for Group Code Review

  • [ x] Nominate for code review

Merge request reports