Corrupt Project Files?

I've been playing around with project files again, but I have run into an issue (bug?) with my project files getting corrupt.

Basically, I have two projects (Development & Build) that I toggle between (Project | Reopen...). After switching between the two a couple of times, their project file lists seem to reverse!

The open file paths are OK, but the project items paths are reversed. In other words the project lists get switched; build becomes development and vice versa.

I'm using PL/SQL Dev version 5.1.0.659. Is this a documented issue? Has it been resolved in a later version?

I'm really excited about using project files to compile ordered scripts, but this is a showstopper!

Please advise...
 
FYI...

Just confirmed that this problem only happens when you toggle projects directly using Project | Reopen...

I can't recreate the problem if I always do a Project | Close, and then Project | Reopen. That seems to NOT corrupt the files, but the direct Reopen does!
 
OK... some more info:

The files don't get permanently corrupt until you do a Project|Save. So if you toggle using Reopen (without closing first) the files will get reversed, but if you close PL/SQL Dev and then re-launch, everything is fine. The "corruption" only gets written to the actual .dsk/prj files if you do a project Save.

So I guess the solution is to switch projects by always doing a Project|Close & then Project|Reopen.

HTH...
 
I cannot immediately reproduce this. Can you upgrade to 5.1.6 (or 6.0.5) and verify if the problem persists?
 
Marco -

I just upgraded to the version 6.0.5.931 and can recreate the problem I've reported. It's the same problem.

Would you like me to send you my before/after project files? You can see exactly what's getting switched around.

Let me know...
 
Back
Top