#22 CreateRequest throws with 2+ subfields of same structure subfield

None
closed-fixed
None
5
2015-01-05
2014-02-14
Dave Hickin
No

I tried to use pvget to get just the secs and nanosecs (but not userTag) of a timestamp:

pvget -m -r "field(dataTimeStamp.secondsPastEpoch,dataTimeStamp.nanoSeconds)" adImage

but got an error message:
mrkraimer
terminate called after throwing an instance of 'std::invalid_argument'
what(): duplicate fieldName dataTimeStamp

Issue is with CreateRequest utility with two subfields of a structure subfield, (although exception comes from FieldCreate implementation).

Discussion

  • Marty Kraimer

    Marty Kraimer - 2014-11-24

    This is fixed in both pvDataJava an pvDataCPP.
    It will be in EPICS V4 release 4.4.0.rc1

     
  • Marty Kraimer

    Marty Kraimer - 2014-11-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,7 +3,7 @@
     > pvget -m -r "field(dataTimeStamp.secondsPastEpoch,dataTimeStamp.nanoSeconds)" adImage
    
     but got an error message:
    -
    +mrkraimer
     terminate called after throwing an instance of 'std::invalid_argument'
     what():  duplicate fieldName dataTimeStamp
    
    • status: open --> closed-fixed