Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 958690 - cannot start documents after collection testing
cannot start documents after collection testing
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-documents (Show other bugs)
7.0
x86_64 Linux
medium Severity medium
: beta
: 7.0
Assigned To: Debarshi Ray
Desktop QE
Tomas Capek
:
Depends On:
Blocks: 1297830 1313485
  Show dependency treegraph
 
Reported: 2013-05-02 04:48 EDT by Vladimir Benes
Modified: 2016-11-04 02:45 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Flat document collections When using the *gnome-documents* application, it was possible include one collection into another and then vice versa at the same time. Consequently, the application terminated unexpectedly. This update ensures that the collections are flat and do not allow circular chains of collections, thus fixing this bug.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-04 02:45:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Bugzilla 701087 None None None Never
Red Hat Product Errata RHBA-2016:2458 normal SHIPPED_LIVE gnome-documents bug fix update 2016-11-03 10:05:13 EDT

  None (edit)
Description Vladimir Benes 2013-05-02 04:48:27 EDT
Description of problem:
I played a bit with collections and I found one crash. After that I even cannot start g-d any more. see reproducer

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.have one document in g-d
2.place that document into two collections
3.right click select those two collections only
4.go into collection dialog via +
5.click several times the first and the second collection there 
  
Actual results:
crash,g-d doesn't start any more

Expected results:
normal sane behaviour

Additional info:
Comment 1 Vladimir Benes 2013-05-02 04:49:15 EDT
version:
gnome-documents-3.8.1-1
Comment 2 Debarshi Ray 2013-05-27 11:12:15 EDT
We should not allow collections to be added to or removed from themselves.
Comment 3 RHEL Product and Program Management 2014-03-22 02:52:29 EDT
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Comment 5 Michael Boisvert 2015-05-19 16:48:51 EDT
I was able to reproduce (kinda) on gnome-documents-3.14.3-1.el7.x86_64. Gnome-Documents didn't crash for me, but I was able to add a collection to itself and it created an infinite loop of those collections. Similar issue except no crash. But as comment #2 says, collections probably shouldn't be able to be added or removed from themselves.
Comment 6 Debarshi Ray 2016-06-15 06:36:01 EDT
I have built gnome-documents-3.14.3-3.el7:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=11181410

This prevents nested collections and ensures that they are always flat. This is in line with what we did upstream in more recent versions.
Comment 12 errata-xmlrpc 2016-11-04 02:45:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2458.html

Note You need to log in before you can comment on or make changes to this bug.