Last modified: 2013-04-30 23:14:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49853, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47853 - Improve error message when viewing draft
Improve error message when viewing draft
Status: NEW
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://gerrit.wikimedia.org/r/58858
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-29 23:17 UTC by Siebrand Mazeland
Modified: 2013-04-30 23:14 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Siebrand Mazeland 2013-04-29 23:17:09 UTC
Patch 58858 is mentioned as an incoming review on L10n-bot's Gerrit dashboard https://gerrit.wikimedia.org/r/#/dashboard/137.

When I tried to go to the patch page for "(bug 47153) improved version. Using Html Class. Removed one unneeded ..." I was shown a an error overlay with "Internal Server Error" instead of the patch details.

Other users in IRC confirm this issue (pgehres, Susan).
Comment 1 Chad H. 2013-04-30 01:14:59 UTC
It's a draft, not an error. It's on L10n-bot's review list (and should be able to view) because he's on the list of reviewers.

We should really make the error nicer when viewing a draft (tweaking summary to that).
Comment 2 christian 2013-04-30 18:16:07 UTC
(In reply to comment #1)
> It's a draft, not an error.
>
> We should really make the error nicer when viewing a draft (tweaking summary
> to
> that).

Since it's a draft that I am not allowed to view, shouldn't that change be
hidden from the dashboard (if I look at L10n-bot's dashboard)?

It looks like a gerrit search problem (dashboard is just three searches).
Because if I search for
  message:"improved version"
the change shows up as well.
/me shudders as I'll have to touch gerrit's search implementation again :-(
Comment 3 christian 2013-04-30 23:14:06 UTC
I had a quick look at the visibility checks when searching for
drafts, and they basically look sane.

When running the query
  message:"improved version"
the returned JSON for the above change gets reported with
  "status":"NEW"
instead of
  "status":"DRAFT"
. Are we sure it's a draft?

When mirroring the repo locally, I noticed that although
  changes/58/58858/6
  ...
  changes/58/58858/13
are present, the refs
  changes/58/58858/1
  ...
  changes/58/58858/5
are missing.

This repo comes with more such omissions. Some of the omissions
belong to valid, visible changes e.g.:
  https://gerrit.wikimedia.org/r/#/c/52776
  ^ misses patch sets 1-9

Others don't show (and do not show up when searching for them)
  https://gerrit.wikimedia.org/r/#/c/55287
  ^ misses patch sets 1-9

Do we know if something happened to that repo sometime back?

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


Navigation
Links