[7.7] Null versions in Store?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[7.7] Null versions in Store?

Boris Popov, DeepCove Labs (SNN)

Has anyone encountered null versions in Store when publishing from 7.7 by chance? Our replicator ran into an issue today when it failed to replicate these properly from the source database,

 

select * from tw_package where version is null

 

43563;"DCL- Web Common";533736739;"";"joerg";43393;;0;0;"";

43564;"DCL- Card Processing UI";533736739;"";"joerg";41729;;0;0;"";

 

select * from tw_bundle where version is null

 

63808;"Web- Raven";533736739;"";"joerg";63683;;0;1136888;"";"";"";""

63811;"DCL- Card Processing";533736739;"";"joerg";63795;;0;0;"";"";"";""

63813;"DCL- Raven";533736739;"";"joerg";63806;;0;1184307;"";"";"";""

 

I’d reset them all using some GUIDs, but curious if there’s a known issue that might cause this?

 

update tw_package set version = '44FBE75249A94987A7E73E8DEBC01D17' where primarykey = 43563

update tw_package set version = '0A0EF8E7FB4B43F6ABAA229F11270DD3' where primarykey = 43564

update tw_bundle set version = '81BE979C229549DCBBB61D7E96C74A03' where primarykey = 63808

update tw_bundle set version = 'D26DF716287940C98AA50A1D6FF29D44' where primarykey = 63811

update tw_bundle set version = '0588FB4660E8490E9C73169B773DEFC9' where primarykey = 63813

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Mark Plas

We also have a couple of packages and bundles with null versions. We haven't run into a problem with them but I believe they have also been created using vw7.7, so there might be a bug in there somewhere.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Boris Popov, DeepCove Labs (SNN)
Sent: dinsdag 20 juli 2010 12:35
To: [hidden email]
Subject: [vwnc] [7.7] Null versions in Store?

 

Has anyone encountered null versions in Store when publishing from 7.7 by chance? Our replicator ran into an issue today when it failed to replicate these properly from the source database,

 

select * from tw_package where version is null

 

43563;"DCL- Web Common";533736739;"";"joerg";43393;;0;0;"";

43564;"DCL- Card Processing UI";533736739;"";"joerg";41729;;0;0;"";

 

select * from tw_bundle where version is null

 

63808;"Web- Raven";533736739;"";"joerg";63683;;0;1136888;"";"";"";""

63811;"DCL- Card Processing";533736739;"";"joerg";63795;;0;0;"";"";"";""

63813;"DCL- Raven";533736739;"";"joerg";63806;;0;1184307;"";"";"";""

 

I’d reset them all using some GUIDs, but curious if there’s a known issue that might cause this?

 

update tw_package set version = '44FBE75249A94987A7E73E8DEBC01D17' where primarykey = 43563

update tw_package set version = '0A0EF8E7FB4B43F6ABAA229F11270DD3' where primarykey = 43564

update tw_bundle set version = '81BE979C229549DCBBB61D7E96C74A03' where primarykey = 63808

update tw_bundle set version = 'D26DF716287940C98AA50A1D6FF29D44' where primarykey = 63811

update tw_bundle set version = '0588FB4660E8490E9C73169B773DEFC9' where primarykey = 63813

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Holger Kleinsorgen-4
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Am 20.07.2010 12:34, schrieb Boris Popov, DeepCove Labs (SNN):
> Has anyone encountered null versions in Store when publishing from 7.7
> by chance? Our replicator ran into an issue today when it failed to
> replicate these properly from the source database,

It's rather easy to produce a package with a null version

- create a bundle "NullBundle"
- create a package "NullPackage" in this bundle
- create a class "NullClass" with a method (e.g. #initialize) in this
package
- publish all
- open the publish dialog for the bundle, but dont publish yet
- change the method of NullClass
- confirm the publish dialog
- a new null version of NullPackage will be published

so it's essential not to modify a package/bundle while a publish dialog
is opened.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Boris Popov, DeepCove Labs (SNN)
Interesting, thanks Holger. Clearly, it's not something you'd normally
do, but I can totally see how it might happen once in a while. Is there
an AR for it, do you know?

-Boris

--
DeepCove Labs Ltd.
+1 (604) 689-0322
4th floor, 595 Howe Street
Vancouver, British Columbia
Canada V6C 2T5
http://tinyurl.com/r7uw4

PacNet Services (Europe) Ltd.
+353 (0)61 714-360
Shannon Airport House, SFZ
County Clare, Ireland
http://tinyurl.com/y952amr

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message header.
Unless otherwise indicated, it contains information that is private and
confidential. If you have received it in error, please notify the sender
and delete the entire message including any attachments.

Thank you.


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Holger Kleinsorgen
Sent: 20 July 2010 14:04
To: [hidden email]
Subject: Re: [vwnc] [7.7] Null versions in Store?

Am 20.07.2010 12:34, schrieb Boris Popov, DeepCove Labs (SNN):
> Has anyone encountered null versions in Store when publishing from 7.7

> by chance? Our replicator ran into an issue today when it failed to
> replicate these properly from the source database,

It's rather easy to produce a package with a null version

- create a bundle "NullBundle"
- create a package "NullPackage" in this bundle
- create a class "NullClass" with a method (e.g. #initialize) in this
package
- publish all
- open the publish dialog for the bundle, but dont publish yet
- change the method of NullClass
- confirm the publish dialog
- a new null version of NullPackage will be published

so it's essential not to modify a package/bundle while a publish dialog
is opened.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Jan Schuemmer
Am 20.07.2010 15:29, schrieb Boris Popov, DeepCove Labs (SNN):
> ... Clearly, it's not something you'd normally
> do, but I can totally see how it might happen once in a while.

It depends on your working style: We have a set of (lint) testcases
which are checked automaticly when a package is published. The 'normal'
workflow is like
        0: do some coding/testing/etc
        1: press 'publish'
        2: fix all the lint issues
        3: forget about the Store bug and confirm the publish dialog
        --> there you are

So, if there is no AR for this, could someone create one?

- Jan

--
Jan Schümmer                                   intelligent views gmbh
Development Manager Core Technologies          Julius-Reiber-Str. 17
Tel/Fax ++49 6151 5006 - 243/138               64293 Darmstadt
e-mail: [hidden email]                 http://www.i-views.de/


Geschäftsführer: Achim Gärtner, Jörg Kleinz, Klaus Reichenberger
Die Gesellschaft ist eingetragen beim Amtsgericht Darmstadt
(Sitz der Gesellschaft) Nr. HRB 7965

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Holger Kleinsorgen-4
> Am 20.07.2010 15:29, schrieb Boris Popov, DeepCove Labs (SNN):
>  > ... Clearly, it's not something you'd normally
>  > do, but I can totally see how it might happen once in a while.
>
> It depends on your working style: We have a set of (lint) testcases
> which are checked automaticly when a package is published. The 'normal'
> workflow is like
> 0: do some coding/testing/etc
> 1: press 'publish'
> 2: fix all the lint issues
> 3: forget about the Store bug and confirm the publish dialog
> --> there you are

to clarify: it only happens if the package was previously unchanged.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Joachim Geidel
Am 20.07.10 16:33 schrieb Holger Kleinsorgen:

>> It depends on your working style: We have a set of (lint) testcases
>> which are checked automaticly when a package is published. The 'normal'
>> workflow is like
>> 0: do some coding/testing/etc
>> 1: press 'publish'
>> 2: fix all the lint issues
>> 3: forget about the Store bug and confirm the publish dialog
>> --> there you are
>
> to clarify: it only happens if the package was previously unchanged.

Unchanged in which sense? No code changes, or no changes at all including
the package properties? Does it also happen when changing package properties
instead of code? What about file attachments stored in Store? There might be
some variations of the scenario.

Joachim Geidel


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Samuel S. Shuster-2
In reply to this post by Holger Kleinsorgen-4
Holger:

> Am 20.07.2010 12:34, schrieb Boris Popov, DeepCove Labs (SNN):
>> Has anyone encountered null versions in Store when publishing from 7.7
>> by chance? Our replicator ran into an issue today when it failed to
>> replicate these properly from the source database,
>
> It's rather easy to produce a package with a null version
>
> - create a bundle "NullBundle"
> - create a package "NullPackage" in this bundle
> - create a class "NullClass" with a method (e.g. #initialize) in this
> package
> - publish all
> - open the publish dialog for the bundle, but dont publish yet
> - change the method of NullClass
> - confirm the publish dialog
> - a new null version of NullPackage will be published
>
> so it's essential not to modify a package/bundle while a publish dialog
> is opened.

Wow! I have never seen this before! We will make an AR for this and try got get it fixed in 7.8 (too late for 7.7.1).

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [7.7] Null versions in Store?

Niall Ross
Dear Sames et al,
    I have never seen this.  I have often changed pundles after the
PublishPundleDialog was open and before saving.  In all cases (I
believe), the pundle already had some changes before I opened the dialog.

          Yours faithfully
             Niall Ross

>Holger:
>
>  
>
>>Am 20.07.2010 12:34, schrieb Boris Popov, DeepCove Labs (SNN):
>>    
>>
>>>Has anyone encountered null versions in Store when publishing from 7.7
>>>by chance? Our replicator ran into an issue today when it failed to
>>>replicate these properly from the source database,
>>>      
>>>
>>It's rather easy to produce a package with a null version
>>
>>- create a bundle "NullBundle"
>>- create a package "NullPackage" in this bundle
>>- create a class "NullClass" with a method (e.g. #initialize) in this
>>package
>>- publish all
>>- open the publish dialog for the bundle, but dont publish yet
>>- change the method of NullClass
>>- confirm the publish dialog
>>- a new null version of NullPackage will be published
>>
>>so it's essential not to modify a package/bundle while a publish dialog
>>is opened.
>>    
>>
>
>Wow! I have never seen this before! We will make an AR for this and try got get it fixed in 7.8 (too late for 7.7.1).
>
>                                And So It Goes
>                                     Sames
>______________________________________________________________________
>
>Samuel S. Shuster [|]
>VisualWorks Engineering, Store Project
>Smalltalk Enables Success -- What Are YOU Using?
>
>
>
>
>
>_______________________________________________
>vwnc mailing list
>[hidden email]
>http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
>  
>


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc