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

Mailing List Archive: Bricolage: users

URGENT! cannot check in stories, trying to publish

 

 

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


acaul at rand

Feb 27, 2009, 2:16 PM

Post #1 of 2 (661 views)
Permalink
URGENT! cannot check in stories, trying to publish

I bulk checked out stories and now want to bulk check them in. with
soap workflow commands I get this:

Call to Bric::SOAP::Workflow->checkin failed:

Can't use string ("id") as a HASH ref while "strict refs" in use at /
usr/local/bricolage/lib/Bric/Biz/Asset.pm line 246, <GEN183> line 21.


Check the Apache error log for more detail.


ERROR LOG SHOWS


[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:394]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:717]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:184]
Use of uninitialized value in exists at /usr/local/bricolage/lib/Bric/
SOAP/Story.pm line 776, <GEN115> line 21.
Use of uninitialized value in hash element at /usr/local/bricolage/
lib/Bric/SOAP/Story.pm line 1107, <GEN115> line 21.
Use of uninitialized value in exists at /usr/local/bricolage/lib/Bric/
SOAP/Story.pm line 776, <GEN77> line 21.
[Fri Feb 27 22:02:32 2009] [error] SOAP::Serializer::envelope: Server
Application error Bric::SOAP::Story::create : no contributor found
matching (contributer => suffix => , lname => Randall, mname => ,
fname => Jessica, type => Author, role => \n[/usr/local/bricolage/lib/
Bric/SOAP/Story.pm:1025]\n[/usr/local/bricolage/lib/Bric/SOAP/
Asset.pm:243]\n[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:
2744]\n[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:
394]\n[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:
717]\n[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:184]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:264]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2838]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:1550]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:746]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2802]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:406]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2795]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:394]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:717]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:184]
Use of uninitialized value in exists at /usr/local/bricolage/lib/Bric/
SOAP/Story.pm line 776, <GEN117> line 21.
[Fri Feb 27 22:02:32 2009] [error] SOAP::Serializer::envelope: Server
Application error The URI '/about/people/s/sullivan_j_greer.html' is
not unique.\n[/usr/local/bricolage/lib/Bric/Biz/Asset/Business.pm:
2705]\n[/usr/local/bricolage/lib/Bric/Biz/Asset/Business/Story.pm:
1909]\n[/usr/local/bricolage/lib/Bric/SOAP/Story.pm:1102]\n[/usr/
local/bricolage/lib/Bric/SOAP/Asset.pm:243]\n[/usr/local/lib/perl5/
site_perl/5.8.7/SOAP/Lite.pm:2744]\n[/usr/local/lib/perl5/site_perl/
5.8.7/SOAP/Transport/HTTP.pm:394]\n[/usr/local/lib/perl5/site_perl/
5.8.7/SOAP/Transport/HTTP.pm:717]\n[/usr/local/bricolage/lib/Bric/
SOAP/Handler.pm:184]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:264]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2838]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:1550]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:746]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2802]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:406]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2795]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:394]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:717]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:184]
[Fri Feb 27 22:07:17 2009] [error] SOAP::Serializer::envelope: Server
Can't use string ("id") as a HASH ref while "strict refs" in use at /
usr/local/bricolage/lib/Bric/Biz/Asset.pm line 246, <GEN91> line 21.
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:264]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2838]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:1550]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:746]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2802]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:406]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Lite.pm:2789]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:394]
[/usr/local/lib/perl5/site_perl/5.8.7/SOAP/Transport/HTTP.pm:717]
[/usr/local/bricolage/lib/Bric/SOAP/Handler.pm:184]

__________________________________________________________________________

This email message is for the sole use of the intended recipient(s) and
may contain confidential information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.


david at kineticode

Feb 27, 2009, 10:21 PM

Post #2 of 2 (586 views)
Permalink
Re: URGENT! cannot check in stories, trying to publish [In reply to]

On Feb 27, 2009, at 2:16 PM, Ashlee Caul wrote:

> I bulk checked out stories and now want to bulk check them in. with
> soap workflow commands I get this:
>
> Call to Bric::SOAP::Workflow->checkin failed:
>
> Can't use string ("id") as a HASH ref while "strict refs" in use at /
> usr/local/bricolage/lib/Bric/Biz/Asset.pm line 246, <GEN183> line 21.

Looks like we forgot to pass the parameters to lookup() as a hash. See
if this patch fixes it for you (note that I've just turned the args to
lookup() into a hash reference):

Index: lib/Bric/SOAP/Workflow.pm
===================================================================
--- lib/Bric/SOAP/ Workflow.pm (revision 8407)
+++ lib/Bric/SOAP/ Workflow.pm (working copy)
@@ -623,7 +623,7 @@
: 'Bric::Biz::Asset::Business::' . ucfirst $type;

# Look up the asset.
- my $obj = $class->lookup( id => $id->value, checkout => 1 )
or throw_ap(
+ my $obj = $class->lookup({ id => $id->value, checkout => 1 })
or throw_ap(
error => qq{Unable to find checked-oiut $type for id "}
. $id->value . '".'
);

Best,

David

Bricolage users 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.