Mailing List Archive

Warning : bric_soap fail with 53 week years
Hi,

Our journalists are writing stories and setting them up for publishing in
the first 3 days of 2010. Unfortunately those three days are in week 53 of
this year and an export via bric_soap gives the cover date as 2009-01-03
rather than 2010-01-03 .

So our auto-publishing mechanism has just published a load of stories meant
for next year because bric_soap is returning the cover date as 2009. The
coverdate in the GUI and the DB is correctly showing as 2010.

Once you hit week 1 (i.e. Jan 4th onwards) it's fine. I'll raise a bug now
but I wanted to let people know in case they are using bric_soap for a
similar task. This is Bricolage 1.11.1.

Regards,

Paul
Re: Warning : bric_soap fail with 53 week years [ In reply to ]
Hi everybody,

I've just reproduced this in Bricolage 1.10.7. (SOAP mis-reports
cover/publish dates of Jan. 1, 2010 as Jan. 1, 2009.)

The happy news is that David Oliveira ran into the same problem a year
ago, and found a fix:


http://www.gossamer-threads.com/lists/bricolage/users/35553


Hope this helps, and talk to you soon,

Bret


On Tue, 2009-12-22 at 16:49 +0000, Paul Orrock wrote:
> Hi,
>
> Our journalists are writing stories and setting them up for publishing in
> the first 3 days of 2010. Unfortunately those three days are in week 53 of
> this year and an export via bric_soap gives the cover date as 2009-01-03
> rather than 2010-01-03 .
>
> So our auto-publishing mechanism has just published a load of stories meant
> for next year because bric_soap is returning the cover date as 2009. The
> coverdate in the GUI and the DB is correctly showing as 2010.
>
> Once you hit week 1 (i.e. Jan 4th onwards) it's fine. I'll raise a bug now
> but I wanted to let people know in case they are using bric_soap for a
> similar task. This is Bricolage 1.11.1.
>
> Regards,
>
> Paul
>


--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com
Re: Warning : bric_soap fail with 53 week years [ In reply to ]
On Jan 1, 2010, at 1:36 PM, Bret Dawson wrote:

> I've just reproduced this in Bricolage 1.10.7. (SOAP mis-reports
> cover/publish dates of Jan. 1, 2010 as Jan. 1, 2009.)
>
> The happy news is that David Oliveira ran into the same problem a year
> ago, and found a fix:
>
>
> http://www.gossamer-threads.com/lists/bricolage/users/35553
>
>
> Hope this helps, and talk to you soon,

Yep, I committed this fix to rev_1_10 and master.

Thanks!

David