string array write through portable server fails
Bug #541328 reported by
Jeff Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
High
|
Jeff Hill |
Bug Description
Yuichi ITOH wrote:
> Hi
>
> I am trying to use gateway, and I have encountered with a problem.
> The problem appeares when writing array data through gateway using "caput -a" command.
> (Gateway2.0.2.1 built with Base3.14.9 on Scientific Linux 4.2)
>
> Writing a scalar data through gateway, it will successfully completed.
> Writing array data without gateway, it will successfully completed.
> Environment variable EPICS_CA_
>
> Has anyone else encountered with this problem?
>
> Thanks,
> Yuichi ITOH
>
>
Original Mantis Bug: mantis-298
http://
To post a comment you must log in.
From Gasper,
I checked also on gateway 2.0.0.0 with EPICS base 3.14.7 and it fails to do a caput -a to waveform with FTVL set to DOUBLE.
I looks like the problem is in file casStrmClient.cc of generic ca server.
Primitive type is changed to aitEnumFixedString on line 2164 (EPICS 3.14.9)
pDD->putRef ( pData, type, pDestructor );
I changed this line to
pDD->putRef ( pData, bestWritePrimType, pDestructor );
and is working.