Same as issue 2054059, but for 8.x-1.1.
Now that configuration is in config/install/readonlymode.settings.yml, it seems it's necessary to add views_exposed_form to the array forms.default.edit.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | rom_views_exposed_form.patch | 434 bytes | richard.walker.ardc |
Issue fork readonlymode-3228261
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
richard.walker.ardc commentedComment #3
richard.walker.ardc commentedPatch attached.
Comment #4
richard.walker.ardc commentedComment #5
matoeil commentedi have :
- added the line of code from the patch
- uninstall the module and reinstall,
- activate the read-only mode
A view with an exposed filter is still not visible
Comment #6
richard.walker.ardc commentedPlease confirm what you mean by "uninstall".
If you only used the admin interface
Administration -> Extend -> Uninstall, or if you useddrush pmu, this didn't remove the module and the patch from your file system. So if you then re-installed, you were re-installing with the patch.Comment #7
matoeil commentedusing the admin interface
Comment #8
richard.walker.ardc commentedAh ... yes. I've been able to reproduce this. :-(
Thank you for reporting. I guess I'll try to see what is going on.
Comment #9
richard.walker.ardc commentedNote to self: after uninstall/reinstall, if I view the config (
admin/config/development/configuration/single/export, Simple configuration/readonlymode.settings), the valueviews_exposed_formis gone fromforms.default.edit. So the patch "got lost" somehow.Update: Oh, this is because I didn't even install my own patch, but I'd modified the configuration manually after the original install, so it's no wonder it wasn't there after uninstall/reinstall.
More to come, once I've had a chance to re-test after actually applying the patch ....
Comment #10
solideogloria commentedComment #11
solideogloria commentedComment #14
astonvictor commentedWorks for me with Drupal 10.3
not sure but I guess an old version of the Drupal has different statuses for the module: disabled and uninstalled.
Currently, after uninstalling the module, I don't have a config on the /admin/config/development/configuration/single/export page and after installing again I can see a new line.
It's also possible to create a new update function to update the config for existing projects.
Comment #16
astonvictor commented