# Split package spec and body, with "Prompt For Reload..." bug

**URL:** <https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [August 11, 2022, 10:49am UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840 "2022-08-11T10:49:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Paul](https://forums.toadworld.com/u/Paul)\
**Post date:** [August 11, 2022, 10:49am UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/1 "2022-08-11T10:49:16Z")

</div>

Toad 16.1.53.1594 (and other earlier versions)

There's a very annoying bug when working on single file packages split into spec and body, when "Prompt For Reload On Activation If Timestamp Has Changed" option is enabled.

Steps to Reproduce:

1. "Prompt For Reload On Activation If Timestamp Has Changed" option enabled
2. Open a single file package in the editor and elect to split spec and body into separate tabs

Either :

1. Edit something in the Package Body tab and click "Save"
2. Switch to Package Spec tab, you receive a "_Filename_ has been modified, reload from disk?" dialog.

or

1. Edit something in the Package Spec tab and click "Save"
2. Switch to Package Body and then back to Spec tab, you receive a "_Filename_ has been modified, reload from disk?" dialog.

It means you pretty much have to switch off the useful "Prompt For Reload On Activation If Timestamp Has Changed" if working on single file packages that are split.

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [August 11, 2022, 1:37pm UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/2 "2022-08-11T13:37:35Z")

</div>

I can reproduce this in 16.1, but not beta.

We made [this change](https://forums.toadworld.com/t/feature-request-indicated-that-a-file-has-been-modified-on-disk-on-its-editor-tab/55749) recently in beta, that seems to have fixed it.

-John

---

<div class="post-metadata">

**Author:** ![Paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Paul](https://forums.toadworld.com/u/Paul)\
**Post date:** [August 11, 2022, 3:29pm UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/3 "2022-08-11T15:29:21Z")

</div>

Thanks John, I'll take a look

---

<div class="post-metadata">

**Author:** ![Paul](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Paul](https://forums.toadworld.com/u/Paul)\
**Post date:** [October 13, 2022, 10:44am UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/4 "2022-10-13T10:44:51Z")

</div>

@JohnDorlon the bug still exists in 16.2.98.1741. 😭

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [October 13, 2022, 12:45pm UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/5 "2022-10-13T12:45:08Z")

</div>

HI Paul,

I don't get it after the first edit, save and tab switch in 16.2, but I do get it if I repeat that process. Sorry about that. We'll take another look at it.

-John

---

<div class="post-metadata">

**Author:** ![Pavel](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@Pavel](https://forums.toadworld.com/u/Pavel)\
**Post date:** [October 14, 2022, 1:35pm UTC](https://forums.toadworld.com/t/split-package-spec-and-body-with-prompt-for-reload-bug/55840/6 "2022-10-14T13:35:21Z")

</div>

@Paul  
Unfortunately this fix didn't make it into 16.2. It should be addressed in the latest Beta.
