tavikukko / Chrome-SP-Editor

Extension for creating and updating files (js, css) in SharePoint Online from Developer Tools
122 stars 39 forks source link

Search not showing result #93

Closed alooft closed 3 years ago

alooft commented 3 years ago

When performing a search using the SP Editor search tab, the search is executed correctly as seen from the Network log, but nothing is shown in the result page (not even an empty table).

This happens across multiple Chrome profiles, PCs and SharePoint tenants.

I can not see any info in the console.

tavikukko commented 3 years ago

Thanks @alooft , I will have a look.

MarkusLanger commented 3 years ago

The same behaviour in my case.

tavikukko commented 3 years ago

Cannot repro this, can you please provide more information @alooft @MarkusLanger ?

MarkusLanger commented 3 years ago

The problem does not exist in all tenants. I attached a video and the response of the the search request. I hope it helps.

https://user-images.githubusercontent.com/12131918/123594814-73366680-d7f0-11eb-935b-47a79f878d9e.mp4

Response.txt

tavikukko commented 3 years ago

Thanks @MarkusLanger Can you try the following: when SP Editor is open, right click it and Inspect. This will open the devtools of the editor. Now run the search again, you should see the error message in the devtoold of SP Editor. I would be interested to see the error message.

tavikukko commented 3 years ago

Also interested the difference between tenants and the sitetype of the current page you have open when running the search and other tenant/site work and other not, thanks.

tavikukko commented 3 years ago

ok, I found a tenant where I can repro this. Lets see whats the problem.

MarkusLanger commented 3 years ago

I don't get an error in the console of the SP Editor devtools.

tavikukko commented 3 years ago

I found the issue. Some tenant do not set elapsedTime property, always returns 0. For some reason I have used that property to check that the search was successful. Will fix this asap. Thanks @MarkusLanger for you help!

tavikukko commented 3 years ago

Fix will be out when Google approves the latest version 5.6.10 , thanks for your cooperation!

MarkusLanger commented 3 years ago

Works fine. Thanks for the quick solution. image