# Copy/Paste visibility bug

**URL:** <https://community.appfarm.io/t/copy-paste-visibility-bug/2141>\
**Category:** Bug reports\
**Created:** [November 18, 2025, 11:13am UTC](https://community.appfarm.io/t/copy-paste-visibility-bug/2141 "2025-11-18T11:13:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/theo/32/1672_2.png) [@Theo](https://community.appfarm.io/u/Theo)\
**Post date:** [November 18, 2025, 11:13am UTC](https://community.appfarm.io/t/copy-paste-visibility-bug/2141/1 "2025-11-18T11:13:47Z")

</div>

Copy/Paste of visibility condition that uses the “Current User Roles” object fails.

See this example below where I have added a visibility condition with the user roles:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/0de2990e7a09d0185a6822fed50f6b65164fb481.png)

When I paste this into another component in my app, it results in “Incomplete condition”, which causes the app to crash

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/0/055bdbc19e4e3b2a00cbc6b21f0ff86208d54b41.png)

---

<div class="post-metadata">

**Author:** ![petter2](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/petter2/32/1464_2.png) [@petter2](https://community.appfarm.io/u/petter2)\
**Post date:** [November 19, 2025, 10:23am UTC](https://community.appfarm.io/t/copy-paste-visibility-bug/2141/2 "2025-11-19T10:23:42Z")

</div>

I have also experienced this

---

<div class="post-metadata">

**Author:** ![nina](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/nina/32/1903_2.png) [@nina](https://community.appfarm.io/u/nina)\
**Post date:** [November 19, 2025, 10:42am UTC](https://community.appfarm.io/t/copy-paste-visibility-bug/2141/3 "2025-11-19T10:42:06Z")

</div>

Hi Theo and Petter!

We have already registered this as a challenge and will let you know when it is fixed! Thank you for letting us know 😄
