- Daniel Vivier
- PowerBuilder
- Saturday, 22 February 2020 03:59 PM UTC
I'm wondering whether this is a bug, so I'm going to post it here for comment first.
I just found out that you can do the following:
- Working on a project under source control (WizSource)
- Application object not checked out
- Open some other object, and make a change to the Global Variables through that object
- Save: you get prompted twice that "application object is not checked out, OK to save?" or words to that effect, but the change is indeed saved.
- If I do a Show Differences on the application object, the change to the global variables is shown.
- But the application object is still not checked out.
So obviously at that point, if I do check out the application object, the change will be lost, since a checkout does a Get Latest Version. And also at that point (after the check out), my other object that requires the change to the globals will not compile.
And finally, if I check in my change to the other object that requires the change to the globals, that won't work for other users, since they don't have my change, since the application object was not checked out and checked in with the change.
I have noticed before that any change to the regular code of a global function object (with no change to the global variables), when the application object isn't checked out, gives those same verification questions, twice, as mentioned above. So I have learned to ignore those questions, since it's obvious that changes to the code of global functions shouldn't be changing the application object (and thus shouldn't be prompting with those questions?).
So is my conclusion that I should only change global variables when the application object is checked out?
And does this appear to be a bug, that you can override the fact that the application object isn't checked out, when changing global variables from another object?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.