-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
A PVA link in a "calc" link fails with DBLINK* corrupt on being unable to locate the associated record field in order to determine a native field type for the lset.
pva2pva/pdbApp/pvalink_lset.cpp
Lines 28 to 32 in 3b9990e
| for(long status = dbFirstField(&iter.ent, 0); !status; status = dbNextField(&iter.ent, 0)) { | |
| if(iter.ent.pfield==plink) | |
| return iter.ent.pflddes->field_type; | |
| } | |
| throw std::logic_error("DBLINK* corrupt"); |
record(ai, "MTEST-JSON:A1") {
field(VAL, 1)
field(PINI, 1)
}
record(ai, "MTEST-JSON:inp_json_calc") {
field(INP,
{
"calc": {
"expr": "A|B|C",
"args": [
{
"const": 0
},
0,
{
"pva": {
"pv": "MTEST-JSON:A1",
"proc": "CP"
}
}
]
}
}
)
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels