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

Mailing List Archive: Bricolage: devel

Re: [8378] Fix for bugs 1376 and 1394, reorder_elements added to bric_soap

 

 

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


david at kineticode

Nov 19, 2008, 11:33 AM

Post #1 of 1 (668 views)
Permalink
Re: [8378] Fix for bugs 1376 and 1394, reorder_elements added to bric_soap

On Nov 19, 2008, at 8:27 AM, paulo [at] bricolage wrote:

> +Fix for bug 1376 && 1394, where a story imported through bric_soap
> didn't have
> +it's

"its", not "it's". Also, please put var and method or function names
in C<>.

> object_order set properly so wouldn't preview through templates until
> +saved in the UI. [Paul Orrock]
> +
> =back
>
> =head1 VERSION 1.11.1 (2008-10-03)
> Modified: bricolage/trunk/lib/Bric/SOAP/Util.pm (8377 => 8378)
> --- bricolage/trunk/lib/Bric/SOAP/Util.pm 2008-11-19 14:10:56 UTC
> (rev 8377)
> +++ bricolage/trunk/lib/Bric/SOAP/Util.pm 2008-11-19 16:27:19 UTC
> (rev 8378)
> @@ -546,6 +546,11 @@
> $element->delete_elements([.
> map { @$_ } values %containers, values %fields
> ]);
> +
> + # make sure our object order is set properly [BUG 1397]
> + my $element_list = $element->get_elements;
> + $element->reorder_elements($element_list) if ($element_list-
> >[0]);
> +

I wonder why this was never a problem before?

Best,

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.