Opened 10 years ago

Closed 10 years ago

#4770 closed defect (fixed)

Journal mix metadata from different objects

Reported by: godiard Owned by:
Priority: Urgent Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

Try the following sequence:

  • Go to the journal.
  • Select a object and go to the detail view.
  • Return to the list view
  • Select a second object and click the star to select as favorite
  • Go to the detail view for the second object

You will see the title from the first object in the second object

Change History (1)

comment:1 Changed 10 years ago by Martin Abente Lahaye

  • Resolution set to fixed
  • Status changed from new to closed

Block KeepIcon callback in ExpandedEntry

When updating ExpandedEntry widgets to render a new journal
entry, it updates the state of the KeepIcon.

If the previous entry that was rendered in the ExpandedEntry
had a different value for keep, then it will trigger a toggle
event, since both uses the sake KeepIcon widget.

This callback is processed right away, so the other widgets still
contain previous journal entry values, and since this callback
triggers a metadata update, the old journal entry values are store
in the the new journal entry metadata, and get mixed.

Fixes #4770

Signed-off-by: Martin Abente Lahaye <tch@…>

Changeset: 61890804a87d53ab20332dd542f977021c45fe02

Note: See TracTickets for help on using tickets.