Problem/Motivation

olivero theme dropdown menu not working when is hover, not show sub menu items.

Steps to reproduce

After update olivero theme dropdown menu not working and the block of recent content not show if is not admin.

And all ajax functions stop working en add node. in gin theme all work well, but olivero no if is not admin.

All working before update.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

ady1503 created an issue. See original summary.

cilefen’s picture

Component: menu system » Olivero theme
ady1503’s picture

I have found a temporary solution, enable ajax in the "frontpage" view.
And this is how the menu works and the recent content block is displayed,
but the ajax still doesn't work when editing the new node.

preeti.chawla’s picture

Status: Active » Needs review
StatusFileSize
new268.53 KB
new57.61 KB

@ady1503 I have Installed Drupal version 10.1.x-dev as mentioned and tested on my local, Its working fine as expected.
Enabled Olivero theme and add menu - Dropdown menu working fine
And Recent content block also shown with no Ajax issues in both the cases LoggedIN and anonymous

Please refer screenshot

cilefen’s picture

Status: Needs review » Postponed (maintainer needs more info)
Issue tags: +Needs steps to reproduce
ady1503’s picture

Hello.

Could it be that the problem is in the module: Permissions by Term?

I have it activated and configured to control all the functionality of the website. Because with the admin account everything works.
Before the upgrade to drupal 10.1 everything worked.
Users have the same permissions as before the update. The strange thing is that FormStates and ajax do not work for users other than admin, and only in the Olivero theme, in the Gin theme everything works fine.
Thank you

ady1503’s picture

I found that the problem persists if both options are activated:

Bandwidth Optimization
External resources can be automatically optimized, which will reduce both the size and the number of requests to your website.

Combine CSS files

Merge JavaScript files

cilefen’s picture

cilefen’s picture

Permissions by term has an open critical bug but I don't know if that affects your site.

Are there browser console errors?

ady1503’s picture

Hello.

I made this:

Using the rebuild script
Open settings.php (/sites/default/settings.php) in any plain text editor. Add this line to the end of the file and save it:

$settings['rebuild_access'] = TRUE;
Visit http://www.example.com/core/rebuild.php in your browser (where www.example.com is your site’s URL). After a short pause, you should be redirected to the home page of your site, and the cache should be rebuilt.
Open settings.php (/sites/default/settings.php) in a text editor. Find the line you added with $settings[rebuild_access], remove this line, and save the file.

In drupal 10.1.1 and works all, and this is for #3370828: Ensure that edge caches are busted on deployments for css/js aggregates, too.

If you want delete an cache.

Thanks

marcolam’s picture

I had the same problem, after uninstalled Node Authorize Link module, problem solved.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)
Issue tags: +Bug Smash Initiative

It has been 18 months since steps to reproduce this were asked for, but haven't been supplied. This was also reported on Drupal 10.1.0, which is no longer supported and there were many fixes added to Drupal 10.1.1, see #8.

Therefore, I closing this issue. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue starting from "Install Drupal core".

Thanks!