Ticket #1522 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

Changing tags of presentation doesn't affect its slides

Reported by: jukka Owned by: gabor
Priority: major Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent: 8.0h

Description

I fixed tags for a presentation, where tagger used space as a separator, thus creating a one huge tag. The presentation has its tags fixed, but all of the slides still have that one huge tag. Changing tags of presentation should affect those objects too, but it I'm not sure how: if one slide has added tags, we sure don't want to loose those.

Maybe following logic would be ok for most cases:

When editing tags of presentation:

old_tags= old tags of this presentation 
slides= slides of this presentation
new_tags = new tags given to this presentation
for slide in slides:
    if slide has tag that is in old_tags but not in new_tags:
         remove that tag
    if slide doesn't have tag that is in new_tags:
         add that tag 

Attachments

Kuva 3.png (170.1 KB) - added by jukka 13 years ago.
huge tag

Change History

Changed 13 years ago by jukka

huge tag

comment:1 Changed 13 years ago by gabor

  • Owner changed from anonymous to gabor
  • Status changed from new to assigned

comment:2 Changed 13 years ago by gabor

  • Status changed from assigned to closed
  • Time spent set to 8.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1987]) fixed #1522 spent 8h

Note: See TracTickets for help on using tickets.