[Seaside-dev] Issue 59 in seaside: WAApplication preferenceAt: and preferenceAt:put: apparently not symmetrical

codesite-noreply at google.com codesite-noreply at google.com
Wed Apr 23 20:40:43 UTC 2008


Issue 59: WAApplication preferenceAt: and preferenceAt:put: apparently 
not symmetrical
http://code.google.com/p/seaside/issues/detail?id=59

New issue report by da... at teleport.com:
Evaluating the following expressions in a workspace results in a 'No
atribute named #deploymentMode error. Note that right before sending
#preferenceAt:put:, I send both #deploymentMode and #preferenceAt: without
error:

| dps |
 dps := OrderedCollection with: WADispatcher default.
 [dps isEmpty] whileFalse: [ | dp |
   dp := dps removeFirst.
   dp entryPoints do: [:ep |
       ep isApplication
           ifTrue: [
		(ep deploymentMode == (ep preferenceAt: #deploymentMode))
		    ifFalse: [self error: 'incorrect preference'].
		ep preferenceAt: #deploymentMode put: true]
           ifFalse: [ep isDispatcher ifTrue: [dps add: ep]].
   ].
 ].

I am using the latest versions of all Seaside packages (Seaside-Core-pmm.140).



Issue attributes:
	Status: Accepted
	Owner: da... at teleport.com
	Labels: Type-Defect Priority-Medium Version-Seaside2.9

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list