Albums are not removed

Bug #1377597 reported by Fabio Zaramella
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Foto
Fix Committed
High
Erasmo Marín

Bug Description

Albums are not removed correctly, i don't know how to explain it, but i know how to reproduce it:

create an album (it should be the first in the sidebar)

import some photos into it from the library

close

open the program and delete the album created before

now if i create a new album it contain the photos contained in the previous album, even if it have a different name, it looks like it takes the photos from the previous album position.

Changed in foto:
importance: Undecided → High
milestone: none → foto-1.0
Revision history for this message
Erasmo Marín (erasmo-marin) wrote :

confirmed.

The auto-increment in sqlite is restarted when the table has no rows, that causes the bug, because a picture saves a reference to an album id.

Changed in foto:
status: New → Confirmed
assignee: nobody → Erasmo Marín (erasmo-marin)
Changed in foto:
status: Confirmed → Fix Committed
Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

This is not fixed, why did you marked it as it is?

Revision history for this message
Fabio Zaramella (fabiozaramella) wrote :

No ok, it seems to be fine now, the first time it wasn't i don't know why.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.