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

Mailing List Archive: Bricolage: users
Re: SOAP bug, or PEBKAC?
 

Index | Next | Previous | View Flat


phillip at communitybandwidth

Sep 29, 2009, 6:06 AM


Views: 1783
Permalink
Re: SOAP bug, or PEBKAC? [In reply to]

Any luck on this issue, Aaron.

On 25-Sep-09, at 12:00 PM, Matt Rolf wrote:

> You might want to check out the bug lists - I'm 99% sure this is
> something that has been fixed, perhaps in 10.7, but that we didn't
> get around to patching on our install.
>
> But I could be wrong.
>
> -Mateo
>
> On Sep 25, 2009, at 10:56 AM, Aaron Fuleki wrote:
>
>> We recently tried the following SOAP command to republish all of
>> our staff bio/cv stories to reflect some template changes:
>>
>> ------------------------------------------------------------
>> /usr/local/bricolage/bin/bric_soap --username xxxx --password xxxx
>> --server https://freestyle.denison.edu story list_ids --search
>> "element_key_name=cv" --search "site=Denison University" --search
>> "publish_status=1" --search "unexpired=1" | /usr/local/bricolage/
>> bin/bric_soap --username xxxx --password xxxx --server https://freestyle.denison.edu
>> workflow --server https://freestyle.denison.edu publish --continue-
>> on-errors --published-only --chunks 1 -
>> ------------------------------------------------------------
>>
>> It worked great for 99% of the stories, except those that were
>> checked out and in a workflow. For those, we got the following
>> error:
>>
>> ------------------------------------------------------------
>> Can't call method "get_id" on an undefined value at /usr/local/
>> bricolage/lib/Bric/Util/Burner.pm line 1203. [/usr/local/bricolage/
>> lib/Bric/Util/Burner.pm:1203] [/usr/local/bricolage/lib/Bric/Util/
>> Job/Pub.pm:191] [/usr/local/bricolage/lib/Bric/Util/Job.pm:1889] [/
>> usr/local/bricolage/bin/bric_queued:244] [/usr/local/bricolage/bin/
>> bric_queued:213]
>> ------------------------------------------------------------
>>
>> Line 1203 of Burner.pm looks like the first time the publish method
>> tries to access the bric asset object, where it promptly dies. Is
>> this a bug? Shouldn't the code be hardened to not pass incomplete/
>> missing parameters to publish?
>>
>> Is there something we can do to have the SOAP command just grab the
>> last published version, and not the checked-out version? I though
>> Matt Rolf had figured this out at some point, but I can't find it
>> in his notes, or my searches of the list archives and docs.
>>
>> The SOAP recipes page shows the use of a "checked_out" argument
>> with the story module, and the API docs refer to a "no_workflow"
>> argument, but I don't think that's what I want. I don't want to
>> skip these stories, because that leaves an old version of them on
>> the production servers - I want to make sure that every story gets
>> published.
>>
>> -Aaron
>>
>> ---------------------------------
>> Aaron Fuleki
>> Senior Web Architect
>> Denison University
>> 740.587.5752
>> ---------------------------------
>>
>>
>>
>

--
Phillip Smith // Simplifier of Technology // COMMUNITY BANDWIDTH
www.communitybandwidth.ca // www.phillipadsmith.com

Subject User Time
SOAP bug, or PEBKAC? fulekia at denison Sep 25, 2009, 7:56 AM
    Re: SOAP bug, or PEBKAC? rolf at ohio Sep 25, 2009, 8:00 AM
        Re: SOAP bug, or PEBKAC? phillip at communitybandwidth Sep 29, 2009, 6:06 AM
    Re: SOAP bug, or PEBKAC? fulekia at denison Oct 6, 2009, 1:42 PM
        Re: SOAP bug, or PEBKAC? fulekia at denison Oct 14, 2009, 10:22 AM
            Re: SOAP bug, or PEBKAC? bret at pectopah Oct 14, 2009, 10:33 AM
                Re: SOAP bug, or PEBKAC? david at kineticode Oct 14, 2009, 10:42 AM
                Re: SOAP bug, or PEBKAC? rolf at ohio Oct 14, 2009, 11:18 AM
    Re: SOAP bug, or PEBKAC? rolf at ohio Oct 14, 2009, 11:23 AM
        Re: SOAP bug, or PEBKAC? david at kineticode Oct 14, 2009, 11:28 AM
    Re: SOAP bug, or PEBKAC? bret at pectopah Oct 14, 2009, 12:01 PM
        Re: SOAP bug, or PEBKAC? fulekia at denison Oct 15, 2009, 7:25 AM
            Re: SOAP bug, or PEBKAC? david at kineticode Oct 15, 2009, 12:03 PM
        Re: SOAP bug, or PEBKAC? david at kineticode Oct 15, 2009, 12:04 PM

  Index | Next | Previous | View Flat
 
 


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