Bug with "Get latest Version" in Powerbuilder.net

If reporting a bug with the Agent Git or Agent SVN plug-ins please post the details here. Please do not post questions here.
Post Reply
rrahn
Posts: 2
Joined: Tue Feb 10, 2015 11:24 am

Bug with "Get latest Version" in Powerbuilder.net

Post by rrahn » Tue Feb 10, 2015 2:19 pm

Hi,

yesterday we installed AgentSVN to use it in Powerbuilder.net 12.5. The plugin itself works fine. Shows the correct file Status etc.
Yet there is one thing we stumbled over. It can be reproduced the following way :

1 ) User A changes a file and checks it in
2 ) User B does a "Get latest Version" on said file.
3 ) AgentSVN gets the correct version of the file. You can see the actual changes when using Notepad or something else to look at it.

The problem is : Powerbuilder.net itself seems to be caching said files. So if User B opens them after getting the latest version an old version of the file is displayed modified and in the worst case checked in again without the changes made beforehand by User A.
Is this a known bug ? Does anyone know a workaround ? Restarting Powerbuilder works, but its not really handy to restart Powerbuilder everytime you get the latest version of a File.

jussij
Site Admin
Posts: 2512
Joined: Fri Aug 13, 2004 5:10 pm

Re: Bug with "Get latest Version" in Powerbuilder.net

Post by jussij » Tue Feb 10, 2015 2:44 pm

It can be reproduced the following way :
Could you confirm you are running the latest 2.43 version as shown in the Agent SVN about box?

If that is not the case please try to replicate the issue with that latest version found here:

http://www.zeusedit.com/agent/download.html

Because PB seems to be a rather unusual MS-SCCI IDE most of the recent changes to Agent SVN have been PB related and that is true of the last set of changes.
The problem is : Powerbuilder.net itself seems to be caching said files.
If the problem persists please do the following for both users machines:

1) Windows Start Button, All Programs, Agent SVN, Agent SVN Configuration utility

2) Turn on the debug option.

3) Hit the View debug log file

4) Truncate the log file to all but the last line (which shows the location of the log file)

5) Replicate the issue for both users

6) Send through both log files via e-mail
Restarting Powerbuilder works
I agree that is not a valid option, but with the log files I suspect the issue should be fixable.

Cheers Jussi

rrahn
Posts: 2
Joined: Tue Feb 10, 2015 11:24 am

Re: Bug with "Get latest Version" in Powerbuilder.net

Post by rrahn » Tue Feb 10, 2015 3:29 pm

Hi Jussi,

sadly the problem still persists even though we both updated to the most recent version of AgentSVN. I have sent you a mail with both logs attached. We did some Checkouts and Checkins so you have some useful data.

jussij
Site Admin
Posts: 2512
Joined: Fri Aug 13, 2004 5:10 pm

Re: Bug with "Get latest Version" in Powerbuilder.net

Post by jussij » Wed Feb 11, 2015 1:22 am

The log files show Agent SVN is doing everything as expected, so I'm not really sure why PB is not reloaded the locally changed file after the Get Latest command ;?

But I found there is an option for PB to check file changes made externally. That might fix this issue :?:

More details on this option can be found here: http://infocenter.sybase.com/help/index ... 98118.html

These are the details of this option:

Environment > Documents
The options in this page control the display of documents in PowerBuilder .NET, and enable you to manage external changes to documents and files:

Detect when file is changed outside the environment - a message immediately notifies you of changes to an open file that have been made by an editor outside the IDE. The message allows you to reload the file from storage. Unselected by default. Auto-load changes, if saved - if Detect when file is changed outside the environment is checked and an open file in the IDE changes outside the IDE, a warning message is generated by default. If this option is enabled, no warning will appear and the document will be reloaded in the IDE to pick up the external changes. Allow scripts with syntax errors to be saved - selected by default.

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 1 guest