Monorail Project: gerrit Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 4631 Watched Projects are gone on 2.12->2.13 upgrade
Starred by 1 user Reported by org...@gmail.com, Sep 25 2016 Back to list
Status: Submitted
Owner: ----
Closed: Sep 2016
Cc:



Sign in to add a comment
Affected Version: 2.13

What steps will reproduce the problem?
1. Set watched projects in 2.12
2. Upgrade to 2.13

What is the expected output?
Watched Projects should persist.

What do you see instead?
They don't.

 
Project Member Comment 1 by icee...@googlemail.com, Sep 26 2016
Yes, I observe the same here. The watched projects list in the web UI is empty, and filtering in is:watched returns an empty list.
Looking at the db, the ACCOUNT_PROJECT_WATCHES table seems to be filled correctly.
Project Member Comment 2 by icee...@googlemail.com, Sep 26 2016
My guess is that this may be related tohttps://gerrit-review.googlesource.com/#/c/79747/( migrate account watches to git) (and  https://gerrit-review.googlesource.com/#/c/79762/ not being merged yet).

If this is the case, try setting user.readProjectWatchesFromGit to  false in gerrit.conf
Comment 3 by org...@gmail.com, Sep 26 2016
hmm... Then I guess false should be the default then?
Project Member Comment 4 by icee...@googlemail.com, Sep 26 2016
Cc: ekempin@google.com
Probably. My test confirms that setting user.readProjectWatchesFromGit to false does fix the missing watches.
Comment 5 by org...@gmail.com, Sep 26 2016
Same here. Forgot to mention.
Project Member Comment 6 by ekempin@google.com, Sep 26 2016
Status: ChangeUnderReview
Yes, the default setting for user.readProjectWatchesFromGit is wrong, it should be 'false'.

Fixed in:
  https://gerrit-review.googlesource.com/87072
Project Member Comment 8 by huga...@gmail.com, Sep 26 2016
Labels: FixedIn-2.13.2
Status: Submitted
Sign in to add a comment