plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
449 stars 610 forks source link

Results page for a simple search for "Welcome" is not displayed (TypeError: Failed to construct 'URL': Invalid URL) #2256

Open Arkusm opened 3 years ago

Arkusm commented 3 years ago

Describe the bug A simple search for "Welcome" (on the demo page) does not work. Results page for the search for "Welcome" is not displayed.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://volto.kitconcept.com/'
  2. Click on 'Search Site'
  3. Enter 'Welcome'
  4. Press Enter
  5. Click on the result ''Welcome to Plone'
  6. A blank page is displayed
  7. JS console shows error
content.bundle.js:33 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at y (content.bundle.js:33)

Expected behavior I expected to see the page that is shown in the preview.

tisto commented 3 years ago

@Arkusm thanks for reporting this. Though, I can not reproduce this:

https://volto.kitconcept.com/search?SearchableText=Welcome

I see one result here:

Search (1)

Arkusm commented 3 years ago

I mean the next step. Click on the result ''Welcome to Plone'. A blank page is displayed. I expected to see a page with the title: 'Welcome to Plone'.

screenshot-volto

tisto commented 3 years ago

@Arkusm ok, got it now. I added the JS console error in your description. Thanks for the report!

msorens commented 3 years ago

Strange! The exact same error just started showing up in my code base as well (completely unrelated to volto--I got here just by searching for the error message). Any clues as to the cause...? FYI: I am seeing this in Chrome 89; not seeing the error in Firefox 86. And I am on a Mac.

msorens commented 3 years ago

FWIW: I found the cause for my system: the axe-coconut browser extension in chrome. As soon as I disabled it, the error went away.