Closed (outdated)
Project:
Drupal core
Version:
9.4.x-dev
Component:
views.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Dec 2019 at 18:36 UTC
Updated:
5 Aug 2022 at 07:19 UTC
Jump to comment: Most recent
Comments
Comment #2
xjm@brisath, this might go without saying, but have you cleared both your site and browser cache?
Also try checking the developer console of your browser for any JavaScript errors?
Did this also occur when you tried updating to 8.8.0?
Comment #3
brisath commentedI haven't installed the new 8.8.0 so will try that. I have cleared browsers and had the same issue on multiple computers and different browsers. Will look for JS errors too.
Comment #4
cilefen commentedThe browser console log could reveal something.
Comment #5
lendudeYeah this sounds like a JS error, but some logs/errors are needed here because this obviously doesn't happen for everybody.
Does this also occur on a clean Drupal 8 install for you? Or only an a specific site? And if on a specific site, are there any relevant contrib modules installed or any Views custom code active?
Comment #6
brisath commentedUpgraded to 8.8.0 and still getting the same problem. Nothing shows in Drupal watchdog but the browser says
Uncaught Error: Syntax error, unrecognized expression: #
at Function.se.error (jquery.min.js?v=3.4.1:2)
at se.tokenize (jquery.min.js?v=3.4.1:2)
at se.select (jquery.min.js?v=3.4.1:2)
at Function.se [as find] (jquery.min.js?v=3.4.1:2)
at k.fn.init.find (jquery.min.js?v=3.4.1:2)
at new k.fn.init (jquery.min.js?v=3.4.1:2)
at k (jquery.min.js?v=3.4.1:2)
at c (bootstrap.min.js?v=1.x:6)
at HTMLAnchorElement. (bootstrap.min.js?v=1.x:6)
at Function.each (jquery.min.js?v=3.4.1:2)
Comment #7
brisath commentedComment #8
lendudeStill needs more info, it's good to know that this occurs as a result of a javascript error, but we still have no idea as to the origin.
Per #5
See #2647916: Views ajax modals stop working in certain scenarios: due to JS settings caching, AJAX responses may set wrong ajaxPageState.libraries, causing problems for subsequent AJAX requests/responses for the level of debugging that can be needed to fix weird javascript errors in Views UI.
Comment #9
brisath commentedClearing caches isn't solving anything and we are not in a position to do a clean Drupal 8 install just to test this. Right now I am able to edit views by opening the edit component in another tab which doesn't use ajax and is a pain to do but at least we can work on things.
Comment #10
brisath commentedStill same problem, cannot edit views on my site.
Comment #11
cilefen commentedThe browser tools network tab will show what the browser sends to Drupal and what Drupal returns in the Ajax call.
Comment #12
longwave> at c (bootstrap.min.js?v=1.x:6)
> at HTMLAnchorElement. (bootstrap.min.js?v=1.x:6)
This could be Bootstrap or theme related, similar to #2903656: Updating to Drupal core 8.4.0-beta1 results in not working dropdown menu
Comment #13
lendude@longwave well spotted. Without steps to reproduce, we can't do anything but guess.
Comment #17
quietone commented@brisath, have you resolved this problem? If so, what did you that fixed it? If not, can you provide more details as asked for in #5 and what themes you are using, from #12.
I searched for duplicates and did not find any.
Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #19
quietone commentedAnd three months has passed and no additional information has been provided as asked for #13 and again in #17.
Therefore, closing as outdated. If this is incorrect reopen the issue, by setting the status to 'Active', and add a comment explaining what still needs to be done.
Thanks!