dotSoftwaredotDevelopmentdotCustomersdotAbout us
PushOk logoblank
bullet Home
bullet My software
bullet Support
bullet My payments
bullet My info
bullet Subscriptions
bullet Voting
bullet Contact us
fast linksFast Links
news&eventsnews and events

2012-12-21 
Major update of SVNCOM version 1.7.2 are finaly released

2012-12-21 
Major update of SVN SCC plug-in - versions 1.7.2 are finaly released

Lightweight embedded Node.js database with MongoDB API.

Ticket

Search go
PushOk Logo blank
leftTicketright

Bug: Status not correctly handled for objects removed from source control

( CVSSCC , PowerBuilder 10, 2.1.1.2, WIN 2000/XP, CVS NT 2.x >= 2.0.58  )
Type: Public Status:Closed Created: 12 Apr 07 04:00 Updated: 20 Jun 07 06:00
You value our support on this issue as "good, I have successfully managed to solve problem with your help". Click here to resubmit your opinion.
--> Oleg Akolupin (admin)  at 20 Jun 07 06:00 writes

I have found reason of this behaviour.
It is not cvsscc problem, it is feature of PB work logic.
The PB on second PC can not know about your deleted files before you update
it "*.pbl" files from first PC.

--> FREHAN (user)  at 23 May 07 05:00 writes

Do we need to turn on "check" delete power builder objet files ?

We have remove/rename monitoring for files off. We must turn something on
?
--> FREHAN (user)  at 23 May 07 05:00 writes

Do you use PB 10 for theses tests ? Build n° is ?
--> Oleg Akolupin (admin)  at 23 May 07 05:00 writes

Sorry, but we can not reconstruct your problem in our side.
--> FREHAN (user)  at 22 May 07 05:00 writes

Please, can we expect at last "a little/small" reply ?! It is one month
now !!

Thanks,

Frederic.
--> FREHAN (user)  at 13 May 07 05:00 writes

Hello,

Do you have found the issue ? Can we expect a fix in next release ?
--> FREHAN (user)  at 16 Apr 07 04:00 writes

I have attached again a debug log showing what is going on exactly during
refresh status on w_test.srw.

You can see some strange errors :

16 28:53():7438: Err >> cvs server: w_test.srw is no longer in the
repository

===================================================================
File: w_test.srw Status: Entry Invalid

Working revision: 1.1
Repository revision: 1.2 /cvsrepo/TESTPRJ/Sources/w_test.srw,v
Expansion option: kv
Commit Identifier: 75c46238a983e54
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)
Merge From: (none)

And finaly :

16 28:54():8468: => OK
16 28:54():8471: WorkRoot = :sspi:DGA_21811:/cvsrepo
16 28:54():8472: Session for status exist
16 28:54():8475: File C:\DVLP\TESTPRJ_2\sources\w_test.srw, status 1
16 28:54():8476: Returning 0

Look like plug-in is totaling ignoring the death revision. See dead flag
in second screen shot. Thats weird isn't it ?

Ho, our PB 10 client tend to generate all *.sr* files as hiden and read
only. See third attachement. So Tortoise didnt work well with them. No
Tortoise menu because files are flaged as system files ??

It append after first connect from projet to SCC.

debuglog.txt  history.jpg  hiden.jpg 
--> FREHAN (user)  at 16 Apr 07 04:00 writes


Attachments 1 - Server properties
Attachments 2 - Server properties

Server version is : CVSNT 2.5.03 (Scorpio) Build 2382
Client : Same
server-01.jpg  server-02.jpg 
--> FREHAN (user)  at 16 Apr 07 04:00 writes


I relay hope you can help us to found why he have this problem. Do you
have seen error messages in debuglog.txt ?

Here is some screenshots with our configuration.. client and server. All
files are watched, can be a problem ?

Attachments 1 - Plug-in properties (1)
Attachments 2 - Plug-in properties (2)
Attachments 1 - workaspace properties

If you see something wrong, let me know...
pluging-properties-01.jpg  pluging-properties-02.jpg  workspace-prop.jpg 
--> FREHAN (user)  at 16 Apr 07 04:00 writes

Hmm.. What is your version of PB ?

Mine is PB 10.2.1 Build 9637

When i perform "refresh status in second solution" nothing append. And if
i force a GLV, i receive a error message "Operation failled because objets
is not under source control" and still no "+".

A second refresh status give the "+" sign. But it is not good because i
must force with two operations. Its not automatic.

On solution 2 : Do you connected to workspace then performed a refresh
status before removing objet in solution 1 ?

Can it be linked to the problem with wring time in history dialog. If we
are the only ones to have this bug, all dev have the same problem until
now.

Can you have a look to our parameters ? Can it be because we configure the
server the server for atomic checkout or because all files have the option
kvv ?

I attach files in second message. Do you have theses error messages in the
log file ?
--> Oleg Akolupin (admin)  at 16 Apr 07 04:00 writes

I have done your scenario and when I did "Refresh Status" I got "+" on the
"test" object.
What now?
--> FREHAN (user)  at 16 Apr 07 04:00 writes

Let me know if you need more informations or if it is not clear for you.
--> FREHAN (user)  at 12 Apr 07 04:00 writes

This is a window object. Just add a new named "test" window objet and add
it to a controled pbl.

Then from an another computer (computer 2), connect a copy of this project
to scc and perform a GLV on pbl to get all objets including this new one.
('.' sign)

After that reopen first workspace on computer 1 and do a remove from scc
for "test" window objet.

After that go on computer 2 and try to get the "+" sign for "test" objet
and let me know.

Thank you gain, sorry for my bad english..
--> Oleg Akolupin (admin)  at 12 Apr 07 04:00 writes

How I can add *.srw files to my PB project ?
I tested your issue with another files and all worked well.
--> FREHAN (user)  at 12 Apr 07 04:00 writes

I reopen this ticket because i'm still sure this problem has noting do with
power builder, indeed because a old 2.1 RC1, files status were always
correctly handled by cvsscc plug-in.

So to prove that it is a bug in cvsscc, i have used your debug dll. See by
yourself, it is quit self explanatory.

After a refresh status on removed file, i found the following error
messages in debug log :

10 27:35():4193: Err >> cvs server: w_patientez.srw is no longer in the
repository
>> This is not an error, the file must be removed from workspace. This
will allow to PB to add the + sign.

>> Performing a GLV on this file, give the following error "Object is no
longer in repository", that's not true, performing a cvs update (glv) with
Tortoise CVS delete the file. So i think this is not a error, and that a
cvs update must be performed on working file in repository.

===================================================================
File: w_patientez.srw Status: Entry Invalid

Working revision: 1.1

Repository revision: 1.2 /cvsrepo/TESTPRJ/Sources/w_patientez.srw,v

Expansion option: kv

Commit Identifier: 19ec461df9fd122a

Sticky Tag: (none)

Sticky Date: (none)

Sticky Options: (none)

Merge From: (none)

The objet has the status "death", look like there is a false interpretation
of file status. Entry is valid on client and server.

Please can you fix (at last) this bug ? Or can you come with clear
evidences that it is not linked to cvsscc because i'm still not convinced
at all.

How to simply fix the problem in CVSSCC ? Just a thought.

Refresh status : If object has the status death, a cvs update must be
performed on working file.

GLV : If object has the status death, a cvs update must be performed on
working file.

I have included the debug log. Please don't close this ticket. :)

Many thanks.

----------------
Frédéric Hancq, Source Administrator

Ministère de la Région Wallonne (MRW)
Direction Générale de l'Agriculture (DGA)
Division des Aides à l'Agriculture (IG2)
Direction de la Coordination de l'intervention - Service Informatique

email : f.hancq@mrw.wallonnie.be
debuglog.txt 
Rate this ticket:
Not useful at all
Partially useful
Useful
Very useful



You are 9789202 visitor since 20 Jan 2003.
471 visitors today and 2 online right now.
blank left to top right blank

© Copyright by PushOk Software, 2003-2024, webmaster@pushok.com