| Summary: | Grouping with derived fields does not work correctly | ||
|---|---|---|---|
| Product: | [Applications] tellico | Reporter: | kexxxi |
| Component: | general | Assignee: | Robby Stephenson <robby> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 2.3 | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SVN commit 1197149 by rstephenson: Fix bug with updating gorups for derived values after modifying them. BUG:256374 M +4 -0 ChangeLog M +7 -6 src/collection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1197149 |
Version: 2.3 (using KDE 4.5.2) OS: Linux The group view is not updated correctly when grouping is based on derived field and an entry is updated in such a way that grouping changes. Reproducible: Always Steps to Reproduce: 1. Create a new custom collection. 2. Add a simple text field 'Country' and a number field 'Year' to the collection. 3. Add a new derived field CountryYear with template '%{country} - %{year}' to the collection. Allow grouping for the field. 4. Create two new entries: [Title: 'first', Country: 'USA', Year: 2000] and [Title: 'second', Country: 'USA', Year: 2001]. Fields are now grouped into two groups 'USA - 2000' and 'USA - 2001'. 5. Edit the year of the second entry from 2001 to 2000. Actual Results: There is now three entries in the group view but two entries in the column view. The second entry appears twice in the group view. Expected Results: There should be two entries in both views.