Closed Bug 1523271 Opened 6 years ago Closed 6 years ago

Revision information still missing

Categories

(Tree Management :: Perfherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: igoldan, Assigned: igoldan)

References

Details

Attachments

(1 file)

Ionut, have you made any progress on a patch? The revision information seems to be missing regardless of whether an originalRevision is selected or not. I'll be starting on the compare view conversion in the next few days so it'd be good to have this fixed.

(In reply to Sarah Clements [:sclements] from comment #1)

Ionut, have you made any progress on a patch? The revision information seems to be missing regardless of whether an originalRevision is selected or not. I'll be starting on the compare view conversion in the next few days so it'd be good to have this fixed.

No, I haven't looked over this yet. I'm working on it now.

This is an awkward situation: I'm not able to reproduce the bug locally, while using yarn stage with latest master.

Sarah, are you having the same issue locally as I am?

Flags: needinfo?(sclements)

I somehow managed to reproduce the bug on my machine. I've run yarn build + ./manage.py runserver 0:8000 while pointing to the production database. Basically, you need to build FE in production mode.

Resuming my debug now.

Flags: needinfo?(sclements)

Looks like RevisionInformation component wasn't able to fetch the props from CompareResultsCtrl. They weren't defined in the react2angular's second argument. The docs confused me:

Note: If you defined propTypes on your component, they will be used to compute component's bindings, and you can omit the 2nd argument:

Yes, I was having the same issue where I wouldn't see the component on production but I would see it while doing local development using the prod server (yarn start).

Landed in:
https://github.com/mozilla/treeherder/commit/5d052ed0d594628ea1ba9eebb5508c3a83ebc692

(the bot that leaves the commit message comment no longer works, so we need to add these manually)

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: