# Possible bug? - Nested/consecutive ITE

**URL:** <https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662>\
**Category:** Ask for Help\
**Created:** [February 18, 2022, 11:42am UTC](https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662 "2022-02-18T11:42:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Test\_Test](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/test_test/32/30930_2.png) [@Test\_Test](https://community.glideapps.com/u/Test_Test)\
**Post date:** [February 18, 2022, 11:42am UTC](https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662/1 "2022-02-18T11:42:12Z")

</div>

![Screenshot 2022-02-18 132436](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d5351307c032c321bd1ecfe94b608c74c284e80b.jpeg)

 ![Screenshot 2022-02-18 132505](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cdd04e05ca94a9a26b79363292ef26c25d80a3dd.jpeg)

Hi all,  
Although I wrote in the topic that this is a possible bug, I’m quite sure the bug is on my side, not Glide’s 😛  
In other words, I’m doing something wrong.

Here’s the story:  
Building a custom form inside a Glide table, as per the wonderful advise from @Darren_Murphy . This form is quite elaborate so the supporting table has a few dozen columns, many of these ITE. Some of these ITE are used to manage visibility of components. Some of these visibility controllers are based on several “scenarios” of inputs to the form, so I’m using ITE inside ITE to handle this (is this where I go wrong?).  
One such example is shown in the screenshots above.  
Each of the first two columns handle a given scenario.  
The third one is trying to combine the first two. As you can see, this third column should be “true” only if one of the first two is “true”. You can also see that’s not the case. Both of the first two are “false”, yet the third is showing as “true”.  
What I have done wrong?  
I’ve tried removing this “Final” column and recreating it. Indeed, it worked as expected but returned to its naughty self after a few runs. By “runs” I am referring to submissions of this custom form. This is what led me to think it might be a bug. After each such run all values are cleared (custom action).  
Thanks

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [February 18, 2022, 2:20pm UTC](https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662/2 "2022-02-18T14:20:46Z")

</div>

WTF!! 🙃

I had to see it on my laptop but I couldn’t reproduce your error manually.  
How many “runs” do you have to wait to see this behavior?

1. ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/3/b3bccfffe6dd847291f059432970a5d5ac154960.png)
2. ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/9/6915072e7bacd97cb6872cd7110bc53a394d3837.png)
3. ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a4eb8f3a178d7204e37af965855a0c5f34a4d323.png)

and my final logic looks like:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/f/ff541423f1851ac0e1d13c46f55790631269eddd.png)

Saludos!

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 18, 2022, 3:50pm UTC](https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662/3 "2022-02-18T15:50:26Z")

</div>

Do any columns in this table have row owners applied, or do any columns reference other tables that have row owners?

---

<div class="post-metadata">

**Author:** ![Test\_Test](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/test_test/32/30930_2.png) [@Test\_Test](https://community.glideapps.com/u/Test_Test)\
**Post date:** [February 18, 2022, 5:29pm UTC](https://community.glideapps.com/t/possible-bug-nested-consecutive-ite/38662/4 "2022-02-18T17:29:34Z")

</div>

> [@Darren\_Murphy](#):
>
> Do any columns in this table have row owners applied, or do any columns reference other tables that have row owners?

No

> [@gvalero](#):
>
> How many “runs” do you have to wait to see this behavior?

I haven’t counted but I believe it’s about 5-6
