[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-devel
Subject:    [Gallery-devel] RE: [Gallery-users] Images being deleted from album when album mo
From:       "Mediratta, Bharat" <bharat () fusionone ! com>
Date:       2002-01-09 1:07:51
[Download RAW message or body]

Doh! 

For the record (since this is posted on the Gallery users mailing list), 
Jesse is running an early access version of Gallery if you're running
any release you downloaded from the download page you *don't* have
to worry about this problem.

Jesse, you put your finger on the problem, so it was fairly easy to
fix.  I've resolved this problem in 1.2.6-cvs-b3.  I'm sorry about your lost

photos... I hope you had backups.  Thanks very much for reporting the bug 
promptly -- hopefully you saved others from experienceing a similar problem.


-Bharat

> -----Original Message-----
> From: Jesse Mullan [mailto:jmullan@visi.com]
> Sent: Tuesday, January 08, 2002 11:25 AM
> To: Mediratta, Bharat; gallery-users@lists.sourceforge.net; Gallery
> Development
> Subject: RE: [Gallery-users] Images being deleted from album 
> when album
> mo ved
> 
> 
> When I change how an album is nested, the images within the 
> album that is 
> being "moved" disappear.
> 
> Gallery v1.2.6-b2
> Hmm.  I wonder if this might be related to this line in 
> move_photo and this 
> change
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gallery/gallery
/classes/Albu
m.php.diff?r1=1.61&r2=1.62

$gallery->album->deletePhoto($index); // delete "album" from original album

I rolled back the changes and it appears to work properly again.  Sigh, the 
bleeding edge...

--On Monday, January 07, 2002 11:42 AM -0800 "Mediratta, Bharat" 
<bharat@fusionone.com> wrote:
> What kind of move operation where you doing?  And what photos
> were disappearing .. ones from inside the album that was being
> moved?  When an album is moved, it's really just an update to
> the metadata -- we don't actually move the JPG files around
> (because the actual album directory stays the same).  So I can't
> think of how this might be going wrong, either :-(

>> -----Original Message-----
>> From: Jesse Mullan [mailto:jmullan@visi.com]
>> It appears to move the references to the album okay, but not
>> the contents,
>> which is very strange, since only the references should be
>> changing at all.
>> This doesn't make a lot of sense to me, and I'm about ready
>> to hit the hay.
>> Yes, I keep backups.

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Gallery-users] Images being deleted from album when album mo ved</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>Doh! </FONT>
</P>

<P><FONT SIZE=2>For the record (since this is posted on the Gallery users mailing \
list), </FONT> <BR><FONT SIZE=2>Jesse is running an early access version of Gallery \
if you're running</FONT> <BR><FONT SIZE=2>any release you downloaded from the \
download page you *don't* have</FONT> <BR><FONT SIZE=2>to worry about this \
problem.</FONT> </P>

<P><FONT SIZE=2>Jesse, you put your finger on the problem, so it was fairly easy \
to</FONT> <BR><FONT SIZE=2>fix.&nbsp; I've resolved this problem in \
1.2.6-cvs-b3.&nbsp; I'm sorry about your lost </FONT> <BR><FONT SIZE=2>photos... I \
hope you had backups.&nbsp; Thanks very much for reporting the bug </FONT> <BR><FONT \
SIZE=2>promptly -- hopefully you saved others from experienceing a similar problem. \
</FONT> </P>

<P><FONT SIZE=2>-Bharat</FONT>
</P>

<P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Jesse Mullan [<A \
HREF="mailto:jmullan@visi.com">mailto:jmullan@visi.com</A>]</FONT> <BR><FONT \
SIZE=2>&gt; Sent: Tuesday, January 08, 2002 11:25 AM</FONT> <BR><FONT SIZE=2>&gt; To: \
Mediratta, Bharat; gallery-users@lists.sourceforge.net; Gallery</FONT> <BR><FONT \
SIZE=2>&gt; Development</FONT> <BR><FONT SIZE=2>&gt; Subject: RE: [Gallery-users] \
Images being deleted from album </FONT> <BR><FONT SIZE=2>&gt; when album</FONT>
<BR><FONT SIZE=2>&gt; mo ved</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; When I change how an album is nested, the images within the \
</FONT> <BR><FONT SIZE=2>&gt; album that is </FONT>
<BR><FONT SIZE=2>&gt; being &quot;moved&quot; disappear.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Gallery v1.2.6-b2</FONT>
<BR><FONT SIZE=2>&gt; Hmm.&nbsp; I wonder if this might be related to this line in \
</FONT> <BR><FONT SIZE=2>&gt; move_photo and this </FONT>
<BR><FONT SIZE=2>&gt; change</FONT>
<BR><FONT SIZE=2>&gt; <A \
HREF="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gallery/gallery" \
TARGET="_blank">http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gallery/gallery</A></FONT>
 <BR><FONT SIZE=2>/classes/Albu</FONT>
<BR><FONT SIZE=2>m.php.diff?r1=1.61&amp;r2=1.62</FONT>
</P>

<P><FONT SIZE=2>$gallery-&gt;album-&gt;deletePhoto($index); // delete \
&quot;album&quot; from original album</FONT> </P>

<P><FONT SIZE=2>I rolled back the changes and it appears to work properly \
again.&nbsp; Sigh, the </FONT> <BR><FONT SIZE=2>bleeding edge...</FONT>
</P>

<P><FONT SIZE=2>--On Monday, January 07, 2002 11:42 AM -0800 &quot;Mediratta, \
Bharat&quot; </FONT> <BR><FONT SIZE=2>&lt;bharat@fusionone.com&gt; wrote:</FONT>
<BR><FONT SIZE=2>&gt; What kind of move operation where you doing?&nbsp; And what \
photos</FONT> <BR><FONT SIZE=2>&gt; were disappearing .. ones from inside the album \
that was being</FONT> <BR><FONT SIZE=2>&gt; moved?&nbsp; When an album is moved, it's \
really just an update to</FONT> <BR><FONT SIZE=2>&gt; the metadata -- we don't \
actually move the JPG files around</FONT> <BR><FONT SIZE=2>&gt; (because the actual \
album directory stays the same).&nbsp; So I can't</FONT> <BR><FONT SIZE=2>&gt; think \
of how this might be going wrong, either :-(</FONT> </P>

<P><FONT SIZE=2>&gt;&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt;&gt; From: Jesse Mullan [<A \
HREF="mailto:jmullan@visi.com">mailto:jmullan@visi.com</A>]</FONT> <BR><FONT \
SIZE=2>&gt;&gt; It appears to move the references to the album okay, but not</FONT> \
<BR><FONT SIZE=2>&gt;&gt; the contents,</FONT> <BR><FONT SIZE=2>&gt;&gt; which is \
very strange, since only the references should be</FONT> <BR><FONT SIZE=2>&gt;&gt; \
changing at all.</FONT> <BR><FONT SIZE=2>&gt;&gt; This doesn't make a lot of sense to \
me, and I'm about ready</FONT> <BR><FONT SIZE=2>&gt;&gt; to hit the hay.</FONT>
<BR><FONT SIZE=2>&gt;&gt; Yes, I keep backups.</FONT>
</P>

</BODY>
</HTML>


__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic