Quirk: New package dependancy introduced by PL4...

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

Quirk: New package dependancy introduced by PL4...

Christopher J. Demers
I am using Dolphin 5.1.4.  I recently deployed a CGI application I had
previously deployed with a prior version of Dolphin.  I got this error
message: 'True does not understand #asValue'.  This is because
SessionManager<<queryEndSession now uses asValue which is in the 'Dolphin
Value Models' package.  In a normal MVP application this package will almost
always be included, however in a CGI application it may be stripped.  I
forced a prerequisite as a workaround.  I suppose that this package should
become a mandatory prerequisite since it is now required for an application
to function normally.

Chris


Reply | Threaded
Open this post in threaded view
|

Re: Quirk: New package dependancy introduced by PL4...

Blair McGlashan
"Christopher J. Demers" <[hidden email]> wrote in
message news:c54ij2$2p2l7q$[hidden email]...
> I am using Dolphin 5.1.4.  I recently deployed a CGI application I had
> previously deployed with a prior version of Dolphin.  I got this error
> message: 'True does not understand #asValue'.  This is because
> SessionManager<<queryEndSession now uses asValue which is in the 'Dolphin
> Value Models' package.  In a normal MVP application this package will
almost
> always be included, however in a CGI application it may be stripped.  I
> forced a prerequisite as a workaround.  I suppose that this package should
> become a mandatory prerequisite since it is now required for an
application
> to function normally.

Thanks Chris, recorded as #1545.

A quick and dirty fix is to change 'true asValue' to 'nil -> true'.
Association implements #value/value: in a way that is fit for purpose in
this case (which only needs the level of indirection provided by
ValueHolder, nothing else), even if it isn't very elegant.

Regards

Blair