Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepends not properly working #421

Open
Robin481 opened this issue Mar 26, 2024 · 2 comments
Open

Prepends not properly working #421

Robin481 opened this issue Mar 26, 2024 · 2 comments

Comments

@Robin481
Copy link
Member

Robin481 commented Mar 26, 2024

bec5f59
(decidim-zuerich/app/overrides/cells/decidim/participatory_processes/process_filters_cell_override.rb)

We would love to use a prepend here in the above file instead of overriding.
For some reason however the standard way of Prepending in the customization file just does not work.
There must be something funky going on with the way those files are loaded.
Using the following commands in Pry does shed some light on the situation:
$ -a Decidim::ParticipatoryProcesses::ProcessFiltersCell
$ -a DecidimZuerich::ParticipatoryProcesses::ProcessFiltersCell
Decidim::ParticipatoryProcesses::ProcessFiltersCell.ancestors
It seems that the file is indeed loaded but somehow with 0 Lines of Code.

@larsUE
Copy link
Collaborator

larsUE commented Mar 26, 2024

@Robin481 ist das etwas lokales oder etwas, was wir an Decidim melden sollten?

@Robin481
Copy link
Member Author

@larsUE Ich denke das hat vermutlich etwas mit unserem Setup zu tun.
Genau wissen wir es aber erst wenn wir mal weiter nachforschen. Von dem her würde ich für den Moment nichts melden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants