PDA

View Full Version : Portal - open script bug


WilliamM
05-28-2008, 01:03 PM
In Portal, a lot of times when you have a script open and try to load a different script, the name of the open script will change but the contents will not. You are seeing the same script, but the name above it has changed to what you intended to open.

Today I started writing a new script, then changed my mind and opened one of my older (finished) scripts. This bug occurred and I guess I must have hit save somewhere when I tried again to open my old script. Now every time I open it I have my new, barely started script. Is there any way to revert to the old one??? Also, I have the old one loaded on some nodes, if it is possible to reproduce it from there somehow.

kbanks
05-28-2008, 07:11 PM
This bug will be corrected in the upcoming 2.1 release of Portal.

As for your two questions:

1) No, there is no way to "revert" a script within Portal. You may want to consider using a revision control system such as Subversion or CVS on your Portal and Portal\snappyImages directories.

2) No, there is no way to get a script back from a node. Only the "byte codes" are downloaded to the nodes, not the actual source code.

Sorry you lost some of your work.

WilliamM
05-28-2008, 08:40 PM
Well I figured as much. Thanks anyway!

I'm glad to hear the bug will be corrected in the next release.