[Seaside] Possible bug in WAAdmin register: aRequestHandlerClass
at: aString in: aDispatcher
bart.veenstra at gmail.com
Thu Aug 26 17:14:42 UTC 2010
While registring applications seaside other than root, my applications where
not accessible at their paths. It seemd that the dispatcher was not
tokenzing the path correctly, because the it takes the '/' as argument
instead of the $/ causing the applications to be registered at the whole
path, instead of registering a WADispatcher for the sub paths.
Don't know of this is the right list for it, but it caused me some headaches
yesterday evening :)
WAAdmin register: aRequestHandlerClass at: aString in: aDispatcher
| path dispatcher |
path := aString subStrings: *$/*.
dispatcher := path allButLast
into: [ :result :each |
ifAbsent: [ result register: WADispatcher new at: each ] ].
^ dispatcher register: aRequestHandlerClass new at: path last
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside