1. Julián Tagarro
  2. PowerBuilder
  3. Friday, 10 July 2020 21:28 PM UTC

Hi all,

If I try to modify an object (add a commandbutton to a window for example) without locking it with "SVN Get Lock", PowerBuilder saves the change into the object but shows the following message:

So, I have the object modified into the PBL but without the possibility to upload it to the repository. 

What am I missing ?

PB2019 R2 + SVN with needs-lock property configured.

Regards,

Julián Tagarro

Julián Tagarro Accepted Answer Pending Moderation
  1. Sunday, 12 July 2020 20:25 PM UTC
  2. PowerBuilder
  3. # 1

I opened a case with Appeon to analize this issue since I have no responses here.

Regards.

Julián Tagarro

Comment
  1. Gary Collins
  2. Wednesday, 6 October 2021 15:26 PM UTC
Did you get a resolution to this issue? I am seeing the same issue in PB 2019 R3 and have not figured it out.
  1. Helpful
  1. Tom Jiang @Appeon
  2. Friday, 8 October 2021 08:07 AM UTC
Here is the reply in the ticket for your reference:



When an object has the need-lock property set, you will not be able to save the object (export the source code for the object to the ws_objects folder) without getting a lock first.



The reason that you see the changes in PB IDE is that the PBL doesn't have the need-lock property set, so the changes are saved in the PBL.



If you do a refresh on the object, it will imports the object in the ws_objects folder and the changes in PB IDE should revert to the original code.



So for your issue, we suggest that you always get the lock before editing any objects or remove the need-lock property if it doesn't fit in your workflow.



Regards,



Tom Jiang
  1. Helpful 2
  1. Julián Tagarro
  2. Monday, 11 October 2021 13:25 PM UTC
Hi Gary and Tom.



Tom I still believe that this is an issue. With the old "Microsoft Source Safe" you get the error message "Object is not checked out" when you try to save an object that was not checked in.



With your suggestion programmers allways need to remember to lock an object before change it. I dont think this is a practical workflow.



Regards.

____________

Julián Tagarro
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.