Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel

Script.aculo.us upgrade

 

 

Bricolage devel RSS feed   Index | Next | Previous | View Threaded


cramerk at denison

Dec 22, 2008, 1:27 PM

Post #1 of 2 (924 views)
Permalink
Script.aculo.us upgrade

Hello, I'm working with Matt Rolf on some bric stuff and we have
updated the script.aculo.us package to the current stable release.

This has presented us with a few problems, however. For starters, we
can't delete or add page elements anymore, from any web browser.
There might be more, but this is what we are working on clearing up
right now.

When we try to add an element we get the following error:
Error Details (hide)

Fault Class
Bric::Util::Fault
Description
Bricolage Exception
Timestamp
2008-12-22 12:57:34.000000
Package
Bric::App::Handler
Filename
/usr/local/bricolage/lib/Bric/App/Handler.pm
Line
384

Stack:

Trace begun at /usr/local/bricolage/lib/Bric/App/Handler.pm line 384
Bric::App::Handler::cb_exception_handler('Can\'t call method
"activate" on an undefined value at
/usr/local/bricolage/lib/Bric/App/Callback/Profile/Story.pm line 756,
line 1394.^J') called at
/usr/pkg/lib/perl5/site_perl/5.10.0/Params/CallbackRequest.pm line 310
Params::CallbackRequest::request('Params::CallbackRequest=HASH(0x9325760)',
'HASH(0xaac6750)', 'requester',
'MasonX::Interp::WithCallbacks=HASH(0xa5fc810)', 'apache_req',
'Apache2::Request=SCALAR(0xab449a0)') called at
/usr/pkg/lib/perl5/site_perl/5.10.0/MasonX/Interp/WithCallbacks.pm
line 119
MasonX::Interp::WithCallbacks::make_request('MasonX::Interp::WithCallbacks=HASH(0xa5fc810)', 'comp', '/widgets/container_prof/container.html', 'args', 'ARRAY(0xab47d20)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0xa5725a0)', 'apache_req', 'Apache2::Request=SCALAR(0xab449a0)') called at /usr/pkg/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line
868
eval {...} at
/usr/pkg/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line 867
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0xa5725a0)', 'Apache2::RequestRec=SCALAR(0xab4eb40)') called at /usr/pkg/lib/perl5/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line
822
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa5725a0)', 'Apache2::RequestRec=SCALAR(0xab4eb40)') called at /usr/local/bricolage/lib/Bric/App/Handler.pm line
309
eval {...} at /usr/local/bricolage/lib/Bric/App/Handler.pm line 298
Bric::App::Handler::handler('Apache2::RequestRec=SCALAR(0xab4eb40)')
called at -e line 0
eval {...} at -e line 0

Any thoughts on this from anyone?

Thanks


david at kineticode

Dec 22, 2008, 11:09 PM

Post #2 of 2 (833 views)
Permalink
Re: Script.aculo.us upgrade [In reply to]

On Dec 22, 2008, at 10:27 PM, cramerk [at] denison wrote:

> Stack:
>
> Trace begun at /usr/local/bricolage/lib/Bric/App/Handler.pm line 384
> Bric::App::Handler::cb_exception_handler('Can\'t call method
> "activate" on an undefined value at /usr/local/bricolage/lib/Bric/
> App/Callback/Profile/Story.pm line 756, line 1394.^J') called at /
> usr/pkg/lib/perl5/site_perl/5.10.0/Params/CallbackRequest.pm line 310

Bah! Some of the stack trace is missing there. Anyway, the code
leading up to line 756 in Profile/Story.pm is:

sub _save_data {
my ($self, $param, $widget, $story) = @_;
my $data_errors = 0;

$param ||= $self->params;
$widget ||= $self->class_key;
$story ||= get_state_data($widget, 'story');
chk_authz($story, EDIT);

# Make sure the story is active.
$story->activate;

What's happening here is that it's not successfully fetching the story
from the session data. I don't know why this would be; somehow the
session doesn't have it. I suggest turning on QA_MODE in
bricolage.conf and restarting, then looking through the session dump
below the UI on every screen. There'll be a lot of it, but if you scan
for 'story', you should be able to find what you need.

HTH,

David

Bricolage devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.