Skip to content

Commit

Permalink
Issue #1: GLASS 339 and GLASS1 339 are finally passing ...
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Mar 6, 2019
1 parent 740464c commit 3090713
Showing 1 changed file with 7 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,13 @@ Class {
{ #category : 'private' }
GsuGsDevKit_3_5_0_StdUpgrade >> _clearMetacelloCaches [

"Metacello caches used in calculating default values for application load specs"

| gsUpgrader |

self log: ' caching appliction load specs, before clearing caches'.
self _glass1Loaded
ifTrue: [self log: 'GLASS1 loaded']
ifFalse: [ self log: 'GLASS1 not loaded' ].
self log: 'GsUpgrader:'.
GsUpgrader new glass1Loaded
ifTrue: [ self log: ' true'] ifFalse: [ self log: ' false'].
gsUpgrader := ((((AllUsers userWithId: 'SystemUser')
objectNamed: #UserGlobals)
at: #'GsDevKit_Upgrade_Cache') at: #GsUpgrader) new.
self log: 'GsUpgrader (Allusers):'.
self log: ' ', gsUpgrader glass1Loaded printString.

false ifTrue: [ self bootstrapApplicationLoadSpecs.
super _clearMetacelloCaches].
"Metacello caches used in calculating default values for application load specs, so cache
application load specs before clearing the Metacello cache"

self _glass1Loaded
ifFalse: [
self bootstrapApplicationLoadSpecs.
super _clearMetacelloCaches ].
]

{ #category : 'private' }
Expand Down

0 comments on commit 3090713

Please sign in to comment.