puzzle / decidim-zuerich

Mitwirkungsportal für die Stadt Zürich, basierend auf Decidim
https://mitwirken.stadt-zuerich.ch
GNU Affero General Public License v3.0
7 stars 2 forks source link

Prepends not properly working #421

Open Robin481 opened 7 months ago

Robin481 commented 7 months ago

https://github.com/puzzle/decidim-zuerich/commit/bec5f59391ccf4d3b98a680686a1eeb685955e71 (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 commented 7 months ago

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

Robin481 commented 7 months ago

@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.