Hi all. I'm trying to delete an element within a container. this element has had data imported into it. When trying to delete the element, I am getting this message "Can't delete item because it has sub-records".
please ignore the thing above (can't delete issue). I thought I didn't submit it. my mistake. sorry!
just to have a small confirmation, I think I met a bug lately : I have a container materiaux_tech_c ; containing 2 more containers : materiaux_c and techniques_c. Both the last ones have one list field inside : materiaux and techniques.
Normally I should do a $vt_object->get("materiaux_tech_c") to get the values in the display format defined in the metadata. I'd like to have only the value for "materiaux". I've tried a get with "ca_objects.materiaux_tech_c.materiaux" but the answer is blank (and I'm sure I have a value).
That should work -- if all the codes are correct. What kind of field is it and what version are you running?
if I do $mycaobject->get("ca_objects.materiaux_tech_c"); I get the correct values (for example 10367:11243) ; if I do $mycaobject->get("ca_objects.materiaux_tech_c.materiaux") I have nothing
this is latest master-fix
We have automated tests for most of the get() stuff so I think we would have noticed if something broke
yes, that's what I think
That being said it's not out of the question some stuff isn't covered