profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Missing unified string optional values cause errors during marker filtering

Open fqueze opened this issue 1 year ago • 9 comments

When changing the filter string nothing is visibly changing in the marker chart, but when sharing the profile and loading it in a new tab, this error is displayed in the marker chart: Error: index undefined not in UniqueStringArray.

Example profile: https://share.firefox.dev/3yVvZvZ

Julien said on Matrix:

we could check for undefined after https://github.com/firefox-devtools/profiler/blob/662dc4aef2da516b0099bfe9c94c7ffdf34b5200/src/profile-logic/marker-schema.js#L673

┆Issue is synchronized with this Jira Task

fqueze avatar Sep 04 '24 10:09 fqueze

can I give it a shot? @fqueze

itsarijitray avatar Sep 05 '24 12:09 itsarijitray

can I give it a shot? @fqueze

Sure, go ahead :). (@julienw marked the issue as good first issue so I expect him to reply; sorry for the delay)

fqueze avatar Sep 10 '24 19:09 fqueze

Yes sure go ahead ;-)

julienw avatar Sep 11 '24 13:09 julienw

@julienw @fqueze Added a small null check.

https://github.com/firefox-devtools/profiler/pull/5125

itsarijitray avatar Sep 14 '24 13:09 itsarijitray

Hi, is this issue open to contribute? I went thru the last pr against it, will that work? I would like to give it a shot.

arpit-ayeeee avatar Sep 29 '24 14:09 arpit-ayeeee

Hi @arpit-ayeeee , as far as I know @itsarijitray is still working on it . Also I'd like to highlight just in case you're part of outreachy that this project isn't an outreachy project.

julienw avatar Sep 29 '24 16:09 julienw

@julienw @fqueze @arpit-ayeeee

Apologies for the delay in my response. I am in the middle of an medical emergency so I am not able to work on this. @julienw you can assign this to @arpit-ayeeee as I am not sure if I will be able to allocate time at moment. Extremely sorry for the delay in my response.

itsarijitray avatar Oct 06 '24 15:10 itsarijitray

Hi @julienw , should I make the requested changes?

arpit-ayeeee avatar Oct 17 '24 19:10 arpit-ayeeee

Please @arpit-ayeeee , if you're still up to it! :-) @itsarijitray hope it will get better for you soon!

julienw avatar Oct 18 '24 14:10 julienw

@arpit-ayeeee could you work on it finally? Thanks

julienw avatar Nov 06 '24 09:11 julienw

Apologies for the delay @julienw , I'll take this up today. Thanks

arpit-ayeeee avatar Nov 07 '24 04:11 arpit-ayeeee