Page MenuHomePhabricator

Improve general stability/sanity of Diffusion file content queries
Closed, InvalidPublic

Description

Highlighted code is broken in Diffusion.

To re-produce, navigate and view any file with highlighting enabled, e.g. https://secure.phabricator.com/diffusion/P/browse/master/.gitignore?view=highlighted

Disabling highlights works okay.

This happened after I ran the update script a few moments ago; also observed it on phabricator for phabricator.

Revisions and Commits

rP Phabricator
Restricted Differential Revision

Event Timeline

kai attached 1 file(s): Restricted File.
kai added a subscriber: kai.

Thanks, I'll take a look. This is probably a side effect of D5824. (+@btrahan)

I have a meeting at 3PM PST (about 2 hours from now) but I'll try to get a patch out before then. I believe @btrahan is currently in a meeting.

epriestley added a subscriber: btrahan.

Sorry about this, my testing was insufficient. FWIW this works with my defaults -- which has both blaming and highlight enabling -- and seems to fail when only highlighting is enabled.

Added an alternative fix. This one basically updates the business logic to make the correct request.

epriestley lowered the priority of this task from High to Normal.May 9 2013, 2:02 AM

Depri since the immediate issue is resolved, but I'm going to try to drive a more solid fix here.

epriestley renamed this task from Highlighted code is broken to Improve general stability/sanity of Diffusion file content queries.May 13 2013, 1:51 AM
chad changed the visibility from "All Users" to "Public (No Login Required)".Jul 3 2015, 5:22 AM

I don't remember what the original context was here, but T9319 is likely a reasonable proxy for it.