Publishing deletes corresponding preview files (1.11.4)
Reported by Guido Buelskaemper | April 8th, 2010 @ 08:47 AM | in 2.0.0
Preview files disappear from preview server when being published
Config
1. Preview and publish server are virtual hosts on same machine
2. Bricolage uses different ftp users for preview/publish
3. Preview/publish files are not identical
Anybody seen this?
Regards
Guido Buelskaemper
Comments and changes to this ticket
-

theory April 8th, 2010 @ 04:03 PM
- → State changed from new to open
- → Assigned user changed from Bugs (at bricolage) to theory
- → Milestone set to 2.0.0
-

-

theory April 11th, 2010 @ 07:04 PM
I've been able to replicate this for stories in more than one category. Is such the case for the stories you're seeing, Guido?
Thanks,
David
-

Bugs (at bricolage) April 11th, 2010 @ 07:40 PM
- → State changed from open to resolved
(from [3b20cade6f8cfe48ccb980c6debe450cb7425411]) Don't delete preview files on publish.
This happened for stories in multiple categories -- and probably for stories
with multiple pages, too. The problem was thatnot_uri => ANY(@files)was
doing(uri NOT LIKE $file OR uri NOT LIKE $file). ThatORneed to be an
AND. So I fixed theany_wherefunction to detectNOT LIKEand switch to anANDin that case.(Just as an aside, I hate that we're parsing SQL bits here, but at least they're all bits we control in our code).
Thanks to Guido Buelskaemper for the report [#156 state:resolved].
http://github.com/bricoleurs/bricolage/commit/3b20cade6f8cfe48ccb98... -

Guido Buelskaemper April 20th, 2010 @ 09:55 PM
Upgraded to 2.0: Problem solved
though stories were neither in more than one category nor had more than one page.Thanks!
Guido Buelskaemper
-

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
-
#156 Publishing deletes corresponding preview files (1.11.4)
Thanks to Guido Buelskaemper for the report [#156
state:r...