portable CA server uses wrong application type for alarm acknowledgement
Bug #541305 reported by
Jeff Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Medium
|
Andrew Johnson |
Bug Description
The portable server was observed to be using the wrong application type when the client was attempting to acknowledge an alarm.
Additional information:
Thanks to Shifu Xu for providing a patch.
Original Mantis Bug: mantis-272
http://
To post a comment you must log in.
I am testing this patch.
Index: casStrmClient.cc ======= ======= ======= ======= ======= ======= ======= ======= ==== epicsmgr/ cvsroot/ epics/base/ src/cas/ generic/ casStrmClient
return S_cas_badType; getPV() ->bestExternalT ype ();
=======
RCS file: /net/phoebus/
.cc,v
retrieving revision 1.92.2.10
diff -c -r1.92.2.10 casStrmClient.cc
*** casStrmClient.cc 21 Mar 2005 23:57:28 -0000 1.92.2.10
--- casStrmClient.cc 2 Oct 2006 15:47:34 -0000
***************
*** 2047,2059 ****
if ( type == aitEnumInvalid ) {
}
-
aitEnum bestExternalType = this->ctx.
!
! gdd * pDD = new gddScalar ( gddAppType_value, bestExternalType );
! if ( ! pDD ) {
! return S_cas_noMemory;
! }
//
return S_cas_badType; getPV() ->bestExternalT ype (); pHdr->m_ dataType] .app;
// copy in, and convert to native type, the incoming data
--- 2047,2058 ----
if ( type == aitEnumInvalid ) {
}
aitEnum bestExternalType = this->ctx.
! aitUint16 app = gddDbrToAit[
! gdd * pDD = new gddScalar ( app, bestExternalType );
! if ( ! pDD ) {
! return S_cas_noMemory;
! }
//
// copy in, and convert to native type, the incoming data
cvs diff: Diffing mt
cvs diff: Diffing st
edited on: 2006-10-02 09:49