# \[BUG\] Project Library is fully deleted on revert change

**URL:** <https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 22, 2024, 10:08pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595 "2024-01-22T22:08:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyler\_Shoemake](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tyler_shoemake/32/55661_2.png) [@Tyler\_Shoemake](https://forum.inductiveautomation.com/u/Tyler_Shoemake)\
**Post date:** [January 22, 2024, 10:08pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595/1 "2024-01-22T22:08:40Z")

</div>

Version: 8.1.33  
FYI, I have found an annoying bug that I haven't seen posted anywhere. Not sure if this has been resolved in newer versions yet either.

**Expectation:**  
Only revert change without deleting scripts.

**Behavior:**  
When you revert a change, all project library scripts are deleted.

**To replicate:**

1. Make a change to a script in your project library
2. ctrl + shift + s to save your changes
3. Cancel the save
4. Right click on a script you edited
5. Select revert changes.

---

<div class="post-metadata">

**Author:** ![avaughn](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/avaughn/32/38972_2.png) [@avaughn](https://forum.inductiveautomation.com/u/avaughn)\
**Post date:** [January 22, 2024, 10:36pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595/2 "2024-01-22T22:36:33Z")

</div>

I believe this should be fixed as of 8.1.34/35.

---

<div class="post-metadata">

**Author:** ![Jonboy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonboy/32/43296_2.png) [@Jonboy](https://forum.inductiveautomation.com/u/Jonboy)\
**Post date:** [February 16, 2024, 9:23pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595/3 "2024-02-16T21:23:20Z")

</div>

Version: 8.1.30

I have seen a similar issue with views being deleted. Maybe it's the same as the script issue?

Here are my views before:

 ![Views before](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/f/3f6992b5f1568bec2c3569079623ca4a9cfca51b.png)

If I make a change to the view, then close the view, then choose to Revert Changes:

 ![View, revert changes](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/3/d35f9c971ac2e3d4bc90891404287248bc952c32.png)

Then confirm, yes:

 ![Really revert confirmation](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/8/c82af31b522cba4816195f1eee0189b853f9823c.png)

All of my views are deleted:

 ![Views after](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/d/ed3e3f56fe54c2f24c8af343321da94ab410bf21.png)

-Jon

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 16, 2024, 9:33pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595/4 "2024-02-16T21:33:11Z")

</div>

Yes, the bug was with the project browser overall and its treatment of the 'revert changes' action. As Alec mentioned, the core issue is fixed in 8.1.35; there was a minor edge case that just recently got fixed, but it's not nearly as severe.

---

<div class="post-metadata">

**Author:** ![Jonboy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonboy/32/43296_2.png) [@Jonboy](https://forum.inductiveautomation.com/u/Jonboy)\
**Post date:** [February 16, 2024, 9:45pm UTC](https://forum.inductiveautomation.com/t/bug-project-library-is-fully-deleted-on-revert-change/84595/5 "2024-02-16T21:45:11Z")

</div>

Thanks
