Pier 3 build 113 broken?

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

Pier 3 build 113 broken?

drush66
Hi,

I have downloaded Pier 3 one click build 113 from Lukas jenkins, and
it seems broken, when I try to access localhost:8080 I get some
exception (something to do with missing hasCookieInContext)

Davorin Rusevljan
http://www.cloud208.com/

p.s.can Pier3 be used with Pharo 1.4? (I have noticed that one click
from jenkins is based on 1.3). Or is that one of those questions that
are better not to be raised? :)
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier 3 build 113 broken?

Nikolay Suslov
Hello,

I think, you could check PRContext urlOn:
it should be without using hasCookieInContext:

PRContext urlOn: aRenderer
"Answer a Seaside URL to get into the receiving context."

| url |
^ aRenderer callbacks isNil
ifTrue: [ self url ]
ifFalse: [
url := aRenderer context actionUrl copy.
url purgeOtherFields; adaptToContext: self.
(self command isRestful and: [ (self application trackingStrategy isKindOf: WACookieSessionTrackingStrategy)
  and: [
    (self application trackingStrategy
        cookieFromContext: self requestContext
        ifAbsent: [ nil ]) notNil ] ])
ifTrue: [ url purgeSeasideFields ]
ifFalse: [
url queryFields
at: '_n' put: nil;
at: (aRenderer callbacks store: self activationCallback) put: nil ].
url ]



Regards,
Nikolay



On Sat, Sep 8, 2012 at 10:41 PM, Davorin Rusevljan <[hidden email]> wrote:
Hi,

I have downloaded Pier 3 one click build 113 from Lukas jenkins, and
it seems broken, when I try to access localhost:8080 I get some
exception (something to do with missing hasCookieInContext)

Davorin Rusevljan
http://www.cloud208.com/

p.s.can Pier3 be used with Pharo 1.4? (I have noticed that one click
from jenkins is based on 1.3). Or is that one of those questions that
are better not to be raised? :)
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki