Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAApplication preferenceAt: and preferenceAt:put: apparently not symmetrical #59

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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).

Original issue reported on code.google.com by henrichs...@gmail.com on 23 Apr 2008 at 8:40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant