Page MenuHomePhabricator

Multiple grep results in one line displayed incorrectly
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Open any project
  2. Search some pattern you know it matches in some file twice on one line

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper changed the task status from Open to Stalled.Jun 22 2018, 12:39 PM

@Dvorapa: Please follow https://mediawiki.org/wiki/How_to_report_a_bug and structure tasks that you report by: 1) clear steps to reproduce that include example URLs, 2) expected outcome, 3) actual outcome. Thanks.

Legoktm changed the task status from Stalled to Open.Jun 22 2018, 2:06 PM
Legoktm subscribed.

On https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/?grep=str there are a few files with str multiple times in the same line. But Phabricator mangles the display of them:

Screenshot from 2018-06-22 16-04-57.png (186×590 px, 9 KB)

Compare to the actual content on https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/docs/api_ref/tests/index.rst$35

I think I first noticed on Czech projects localisation (compare line 54 to the actual line content), but it can be reproduced on any project.

I think I described it properly in the description and title, maybe my English is not as good as it could be

Dvorapa renamed this task from Multiple grep results in one line wrongly highlighted to Multiple grep results in one line displayed incorrectly.Jun 22 2018, 2:37 PM
Dvorapa updated the task description. (Show Details)
Aklapper triaged this task as Lowest priority.Jun 22 2018, 3:56 PM
Vvjjkkii renamed this task from Multiple grep results in one line displayed incorrectly to 4gaaaaaaaa.Jul 1 2018, 1:02 AM
Vvjjkkii raised the priority of this task from Lowest to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 4gaaaaaaaa to Multiple grep results in one line displayed incorrectly.Jul 2 2018, 10:55 AM
CommunityTechBot lowered the priority of this task from High to Lowest.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
epriestley subscribed.

I noted this on https://secure.phabricator.com/T13339, which is not exactly adjacent but sort of has similar flavor and is somewhere in the pipeline.

Closing as per last comment. Please re-open if this still happens. Thanks!