openpoke/decidim-module-reporting-proposals

Template text isn't inserted into the fields when a valuator selects an answer template

Closed this issue · 2 comments

We have a bug on dialogluzern, when valuators select an answer template on a reporting proposal.

The JS console shows the following error:

Uncaught TypeError: err.responseJSON is undefined
    js http://localhost:3000/decidim-packs/js/decidim_templates_admin.js:32
    fire http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:16238
    fireWith http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:16368
    done http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:22536
    callback http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:22795
decidim_templates_admin.js:32:7
    js http://localhost:3000/decidim-packs/js/decidim_templates_admin.js:32
    fire http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:16238
    fireWith http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:16368
    done http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:22536
    callback http://localhost:3000/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js:22795

The error happens in this module's code, at this line.
When setting a breakpoint in decidim_templates_admins.js, I can output the actual contents of err in this case:

{
  "readyState": 4,
  "responseText": "\n<!doctype html>\n<html class=\"no-js\" lang=\"de\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta content=\"IE=edge,chrome=1\" http-equiv=\"X-UA-Compatible\">\n    <meta name=\"author\" content=\"\">\n    <meta name=\"copyright\" content=\"\">\n    <meta name=\"description\" content=\"\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Belag mit Rissen - Luzern glänzt. Mach mit - Admin - Dialog Luzern</title>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<meta name=\"csrf-param\" content=\"authenticity_token\" />\n<meta name=\"csrf-token\" content=\"c3WfRoUi1tqhC3zCydjgcHa6i4MHv59+UwSVyDicy+5tj10oWFo7Vk5JchWLvOHcBAyzfQR8vr1WY2mv2OsS2w==\" />\n<style media=\"all\">\n:root{\n  --alert: #bf8f00;--alert-rgb: 191,143,0;--theme: #df8116;--theme-rgb: 223,129,22;--primary: #bf8f00;--primary-rgb: 191,143,0;--success: #bf8f00;--success-rgb: 191,143,0;--warning: #df8116;--warning-rgb: 223,129,22;--highlight: #0a8abf;--highlight-rgb: 10,138,191;--secondary: #0b5473;--secondary-rgb: 11,84,115;--highlight-alternative: #18b2f2;--highlight-alternative-rgb: 24,178,242;\n}</style>\n\n\n<script>\nwindow.DecidimAwesome = {\"disabled_components\":[],\"allow_images_in_full_editor\":true,\"allow_images_in_small_editor\":true,\"allow_images_in_proposals\":true,\"use_markdown_editor\":false,\"allow_images_in_markdown_editor\":false,\"auto_save_forms\":true,\"intergram_for_admins\":false,\"validate_title_min_length\":3,\"validate_title_max_caps_percent\":25,\"validate_title_max_marks_together\":1,\"validate_title_start_with_caps\":true,\"validate_body_min_length\":3,\"validate_body_max_caps_percent\":25,\"validate_body_max_marks_together\":1,\"validate_body_start_with_caps\":true,\"intergram_for_public\":false,\"menu\":[{\"url\":\"/last_activities?filter%5Bresource_type%5D=Decidim%3A%3ABlogs%3A%3APost\",\"label\":{\"de\":\"News\"},\"target\":\"\",\"position\":6,\"visibility\":\"hidden\"},{\"url\":\"/initiatives\",\"label\":{\"de\":\"Initiativen\"},\"target\":\"\",\"position\":2,\"visibility\":\"hidden\"},{\"url\":\"/processes/sps/f/245/\",\"label\":{\"de\":\"Anmeldung für den Workshop\"},\"target\":\"\",\"position\":3,\"visibility\":\"hidden\"},{\"url\":\"/meetings\",\"label\":{\"de\":\"Veranstaltungen\"},\"target\":\"\",\"position\":5,\"visibility\":\"default\"},{\"url\":\"/assemblies/miteinander\",\"label\":{\"de\":\"Miteinander\"},\"target\":\"\",\"position\":4,\"visibility\":\"default\"}],\"custom_redirects\":{\"/bzo\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/bzo\"},\"/tel\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/48/\"},\"/vqsl\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/vqsl\"},\"/grstr\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/stadtluzern/f/62/debates/\"},\"/qvsbo\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/qv-sbo?locale=de\"},\"/maihof\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/maihof/f/89/\"},\"/support\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/323/\"},\"/grenzhof\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/grenzhof\"},\"/st-karli\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/st-karli-brueckenkoepfe\"},\"/mitmachen\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/46/\"},\"/dasprojekt\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt\"},\"/echogruppe\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/48/\"},\"/popupparks\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/popupparks\"},\"/ufschoetti\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/ufschoetti/f/215/\"},\"/keimlifeiss\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/keimlifeiss\"},\"/miteinander\":{\"active\":true,\"pass_query\":false,\"destination\":\"/assemblies/miteinander/f/480/\"},\"/citylogistik\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/citylogistik\"},\"/dorf-zentrum\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/337/\"},\"/pop-up-werft\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/werft\"},\"/qvreussbuehl\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/qvr\"},\"/sprechstunde\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/47/\"},\"/geissmattpark\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/geissmattpark\"},\"/schadenintern\":{\"active\":true,\"pass_query\":false,\"destination\":\"/assemblies/schadenintern/f/495/proposals/new\"},\"/schadenmelden\":{\"active\":true,\"pass_query\":true,\"destination\":\"https://dialogluzern.ch/assemblies/schadenmelden/f/498\"},\"/lido-bruelmoos\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/340/\"},\"/organisationen\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies\"},\"/quartiereffekt\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/quartiereffekt\"},\"/schulhausareal\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/341/\"},\"/vereinsumfrage\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/dasprojekt/f/279/\"},\"/entsorgungbabel\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/babel/f/265/\"},\"/urbanes-zentrum\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/339/\"},\"/kulturagenda2030\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/kulturagenda2030\"},\"/lebendigeslittau\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/lebendigeslittau\"},\"/quartierrundgang\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/quartierrundgang-wuerzenbach\"},\"/sportkonzept2030\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/sps\"},\"/tribschenstrasse\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/tribschenstrasse\"},\"/inseli/abstimmung\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/inseli/f/438/\"},\"/quartierparklittau\":{\"active\":true,\"pass_query\":true,\"destination\":\"/assemblies/quin/f/79/meetings/92\"},\"/rotsee-gopplismoos\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/rotsee-hintergopplismoos/f/378/\"},\"/schadenexternadmin\":{\"active\":true,\"pass_query\":false,\"destination\":\"/admin/assemblies/schadenmelden/components/498/manage/\"},\"/schadeninternadmin\":{\"active\":true,\"pass_query\":false,\"destination\":\"/admin/assemblies/schadenintern/components/495/manage/\"},\"/wuerzenbachstrasse\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/338/\"},\"/richtplanfussverkehr\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/richtplanfussverkehr\"},\"/zwischennutzunginseli\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/inseli\"},\"/sonderzoneverkehrshaus\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/sonderzoneverkehrshaus\"},\"/zukunftsbild-szenarien\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/entwicklungwuerzenbach/f/325/\"},\"/entwicklung-wuerzenbach\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/entwicklungwuerzenbach\"},\"/entwicklungsgrundsaetze\":{\"active\":true,\"pass_query\":false,\"destination\":\"https://dialogluzern.ch/processes/quartierrundgang-wuerzenbach/f/342/\"},\"/kulturagenda2030-forumii\":{\"active\":true,\"pass_query\":true,\"destination\":\"https://dialogluzern.ch/processes/kulturagenda2030/f/312/\"},\"/rotsee-hintergopplismoos\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/rotsee-hintergopplismoos/\"},\"/pop-up-waldstaetterstrasse\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/waldstaetterstrasse\"},\"/vernehmlassungsportkonzept\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/sps/f/319/\"},\"/quartierrundgang-wuerzenbach\":{\"active\":true,\"pass_query\":true,\"destination\":\"/processes/quartierrundgang-wuerzenbach\"},\"/quartierrundgang-würzenbach\":{\"active\":true,\"pass_query\":false,\"destination\":\"/processes/quartierrundgang-wuerzenbach\"},\"/processes/quartierrundgang-wuerzenbach\":{\"active\":true,\"pass_query\":false,\"destination\":\"/quartierrundgang-würzenbach\"}},\"intergram_url\":\"https://www.intergram.xyz/js/widget.js\",\"intergram_for_admins_settings\":{\"chat_id\":null,\"color\":null,\"use_floating_button\":false,\"title_closed\":null,\"title_open\":null,\"intro_message\":null,\"auto_response\":null,\"auto_no_response\":null},\"intergram_for_public_settings\":{\"chat_id\":null,\"require_login\":true,\"color\":null,\"use_floating_button\":false,\"title_closed\":null,\"title_open\":null,\"intro_message\":null,\"auto_response\":null,\"auto_no_response\":null},\"participatory_spaces_routes_context\":{\"participatory_processes\":[\"participatory_processes\",\"processes\"],\"assemblies\":[\"assemblies\",\"assemblies_types\"],\"process_groups\":[\"processes_groups\",\"participatory_process_groups\"]},\"admin_accountability\":[\"participatory_space_roles\",\"admin_roles\"],\"participatory_space_roles\":[\"Decidim::AssemblyUserRole\",\"Decidim::ParticipatoryProcessUserRole\",\"Decidim::ConferenceUserRole\"]};\nwindow.DecidimAwesome.version = \"0.9.3\";\nwindow.DecidimAwesome.editor_uploader_path = \"/decidim_awesome/editor_images\";\nwindow.DecidimAwesome.rename_scope_label_path = \"/admin/decidim_awesome/rename_scope_label\";\nwindow.DecidimAwesome.texts = {\n  \"drag_and_drop_image\": \"_\",\n  \"autosaved_success\": \"Text automatisch gespeichert\",\n  \"autosaved_error\": \"Automatisches Speichern fehlgeschlagen\",\n  \"autosaved_retrieved\": \"Text automatisch wiederhergestellt\",\n  \"categories\": \"Kategorien\",\n  \"hashtags\": \"Hashtags\",\n  \"proposals\": \"Vorschläge\",\n  \"meetings\": \"Veranstaltungen\",\n  \"amendments\": \"ÄnderungsSchäden\",\n  \"items\": \"Items\",\n  \"select_deselect_all\": \"Alles auswählen / Auswahl aufheben\"\n}\n</script>\n\n\n<link rel=\"stylesheet\" media=\"all\" href=\"/decidim-packs/css/vendors-node_modules_codemirror_mode_css_css_js-node_modules_jquery-ui_ui_widgets_sortable_js-e63ef3.css\" />\n<link rel=\"stylesheet\" media=\"all\" href=\"/decidim-packs/css/local_bundle_gems_decidim-admin-0_27_4_app_packs_entrypoints_decidim_admin_js.css\" />\n<link rel=\"stylesheet\" media=\"all\" href=\"/decidim-packs/css/decidim_admin_decidim_awesome.css\" />\n<script src=\"/decidim-packs/js/vendors-node_modules_quill_formats_code_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_regenerator-runtime_runtime_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_foundation-sites_dist_js_foundation_esm_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_codemirror_lib_codemirror_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_html5sortable_dist_html5sortable_es_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_europa_dist_europa_js-node_modules_inline-attachment_src_codemirror-4_in-db2b88.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_rails_activestorage_app_assets_javascripts_activestorage_js-node_modules-7e0cda.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_d3-array_src_index_js-node_modules_d3-collection_src_index_js-node_modul-f618e0.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_babel_runtime_regenerator_index_js-node_modules_tarekraafat_autocomplete-3d61de.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_codemirror_keymap_sublime_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_jquery-serializejson_jquery_serializejson_js.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_codemirror_mode_css_css_js-node_modules_jquery-ui_ui_widgets_sortable_js-e63ef3.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-core-0_27_4_app_packs_src_decidim_editor_clipboard_override_js-loca-c58f9d.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-core-0_27_4_app_packs_src_decidim_autocomplete_js.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-admin-0_27_4_app_packs_src_decidim_admin_auto_buttons_by_position_c-497525.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-core-0_27_4_app_packs_src_decidim_configuration_js-local_bundle_gem-e7dc7b.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-core-0_27_4_app_packs_src_decidim_ajax_modals_js-local_bundle_gems_-af7788.js\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-admin-0_27_4_app_packs_entrypoints_decidim_admin_js.js\"></script>\n<script src=\"/decidim-packs/js/decidim_admin_decidim_awesome.js\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_quill_formats_code_js.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_codemirror_lib_codemirror_js.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_europa_dist_europa_js-node_modules_inline-attachment_src_codemirror-4_in-db2b88.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_formBuilder_dist_form-render_min_js.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/vendors-node_modules_formBuilder_dist_form-builder_min_js.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/local_bundle_gems_decidim-core-0_27_4_app_packs_src_decidim_editor_clipboard_override_js-loca-c58f9d.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/local_bundle_bundler_gems_decidim-module-decidim_awesome-8c1d23f1ad64_app_packs_src_decidim_d-1f0d0e.js\" defer=\"defer\"></script>\n<script src=\"/decidim-packs/js/decidim_admin_decidim_awesome_custom_fields.js\" defer=\"defer\"></script>\n\n<link rel=\"stylesheet\" media=\"screen\" href=\"/decidim-packs/css/decidim_reporting_proposals_manage_component_admin.css\" />\n<link rel=\"stylesheet\" media=\"screen\" href=\"/decidim-packs/css/decidim_reporting_proposals_list_component_admin.css\" />\n<link rel=\"stylesheet\" media=\"screen\" href=\"/decidim-packs/css/decidim_dev.css\" />\n\n\n\n  </head>\n  <body>\n      <div class=\"reveal\" id=\"timeoutModal\" data-close-on-click=\"false\" data-close-on-esc=\"false\"\n    data-seconds-until-timeout-path=\"/timeouts/seconds_until_timeout\"\n    data-heartbeat-path=\"/timeouts/heartbeat\"\n    data-session-timeout=\"1800\"\n    data-prevent-timeout-seconds=\"0\"\n    data-session-timeout-interval=\"10000\" data-reveal>\n    <h2>Möchtest du deine Sitzung fortsetzen?</h2>\n    <p>Du bist seit 28 Minuten inaktiv. Wenn du weiterhin inaktiv bist, wirst du aus Sicherheitsgründen automatisch abgemeldet.</p>\n\n    <div class=\"reveal__buttons\">\n      <a class=\"button warning\" rel=\"nofollow\" data-method=\"delete\" href=\"/users/sign_out\">Ausloggen</a>\n      <a id=\"reveal-hidden-sign-out\" class=\"hide\" rel=\"nofollow\" data-method=\"delete\" href=\"/users/sign_out?translation_suffix=timed_out\"></a>\n      <form class=\"button_to\" method=\"post\" action=\"/timeouts/heartbeat\" data-remote=\"true\"><button id=\"continueSession\" class=\"button primary\" type=\"submit\">Sitzung fortsetzen</button><input type=\"hidden\" name=\"authenticity_token\" value=\"59ms1XiNyqcuz7aDe/YfDEkUiDiWiyvnExCXjg86jJayBNacrwDTAZ9uTjo0tz1UCjFJjnHi2p4dKQTis15+Lw==\" autocomplete=\"off\" /></form>\n    </div>\n  </div>\n\n    <div class=\"title-bar\">\n  <a href=\"#menu\" class=\"menu-trigger\"><svg aria-label=\"menu\" role=\"img\" aria-hidden=\"true\" class=\"icon--menu icon\"><title>menu</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-menu\"></use></svg></a>\n  <a class=\"logo\" target=\"_blank\" href=\"/\">\n      <img alt=\"Dialog Luzern\" src=\"/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaDRDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f8c835fe54f97f112f2a05a010aefdae78aad2f2/Logo2.png\" />\n</a>  <div class='tool-bar'>\n\n    <div class=\"user-login\">\n      <ul class=\"dropdown menu\" data-dropdown-menu\n        data-autoclose=\"false\"\n        data-disable-hover=\"true\"\n        data-click-open=\"true\"\n        data-close-on-click=\"true\"\n        tabindex=\"-1\">\n        <li class=\"is-dropdown-submenu-parent\" tabindex=\"-1\">\n          <a id=\"admin-language-menu-control\" aria-controls=\"admin-language-menu\" aria-haspopup=\"menu\" aria-label=\"Benutzerkonto: carlo.a.beltrame@gmail.com\" href=\"#\">carlo.a.beltrame@gmail.com</a>\n          <ul class=\"menu is-dropdown-submenu\" id=\"admin-language-menu\" role=\"menu\" aria-labelledby=\"admin-language-menu-control\" tabindex=\"-1\">\n            <li><a tabindex=\"-1\" rel=\"nofollow\" data-method=\"delete\" href=\"/users/sign_out\">Ausloggen</a></li>\n          </ul>\n        </li>\n      </ul>\n    </div>\n  </div>\n</div>\n\n<div class=\"callout-wrapper\">\n    <div class=\"callout alert callout--full\" data-closable>\n      Du bist nicht berechtigt, diese Aktion auszuführen\n      <button class=\"close-button\" aria-label=\"Dismiss alert\" type=\"button\" data-close>\n        <span aria-hidden=\"true\">&times;</span>\n      </button>\n    </div>\n</div>\n\n<main class=\"main\">\n  <div class=\"layout-wrapper\">\n\n    <div class=\"layout-nav\">\n      <nav class=\"main-nav\" aria-label=\"Hauptmenü\"><ul><li><a href=\"/admin/\"><svg aria-label=\"dashboard\" role=\"img\" aria-hidden=\"true\" class=\"icon--dashboard icon\"><title>dashboard</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-dashboard\"></use></svg>Übersicht</a></li><li class=\"is-active\"><a aria-current=\"page\" href=\"/admin/assemblies\"><svg aria-label=\"dial\" role=\"img\" aria-hidden=\"true\" class=\"icon--dial icon\"><title>dial</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-dial\"></use></svg>Organisationen</a></li></ul></nav>\n      \n        <div class=\"secondary-nav secondary-nav--subnav\"><ul><li><a class=\"button\" style=\"color: #fff\" target=\"_blank\" rel=\"noopener\" href=\"/assemblies/schadenmelden\">Öffentliche Seite anzeigen</a></li><li class=\"is-active\"><a aria-current=\"page\" href=\"/admin/assemblies/schadenmelden/components\">Komponenten</a><ul id=\"components-list\"><li class=\"is-active\"><a aria-current=\"page\" href=\"/admin/assemblies/schadenmelden/components/498/manage/\">Schaden melden<span class=\"component-counter\">134</span></a></li></ul></li></ul></div>\n\n    </div>\n    <div class=\"layout-content\">\n      <div class=\"container\">\n        \n  <div class=\"process-title\">\n    <div class=\"process-title-content\">\n      <a target=\"_blank\" href=\"/assemblies/schadenmelden\">Luzern glänzt. Mach mit</a>\n    </div>\n  </div>\n\n  <div class=\"process-content\">\n    <div class=\"card\">\n  <div class=\"card-divider\">\n    <h2 class=\"card-title\">\n      <a href=\"/admin/assemblies/schadenmelden/components/498/manage/proposals\">Vorschläge &gt; </a>\n      Belag mit Rissen\n\n    </h2>\n  </div>\n\n  <div class=\"card-section\">\n    <div class=\"row column\">\n      <strong>Link:</strong>  <a href=\"/assemblies/schadenmelden/f/498/proposals/643\">http://localhost:3000/assemblies/schadenmelden/f/498/proposals/643</a>\n    </div>\n\n    <div class=\"row column\">\n      <strong>Autoren:</strong>\n        <ul id=\"proposal-authors-list\">\n            <li>\n              <a target=\"blank\" href=\"/profiles/Seppi\">Seppi</a>\n                <a class=\"action-icon action-icon--new\" title=\"Kontakt\" href=\"/conversations/new?recipient_id=3675\"><span data-tooltip=\"true\" data-disable-hover=\"false\" data-click-open=\"false\" title=\"Kontakt\"><svg aria-label=\"Kontakt\" role=\"img\" class=\"icon--envelope-closed icon\"><title>Kontakt</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-envelope-closed\"></use></svg></span></a>\n\n<p>\n  <a class=\"button tiny\" target=\"_blank\" href=\"mailto:sgaetter@bluewin.ch?subject=Belag mit Rissen&amp;body=http://localhost:3000/assemblies/schadenmelden/f/498/proposals/643\">Den Meldungslink per E-Mail weiterleiten</a>\n</p>\n\n\n            </li>\n        </ul>\n    </div>\n\n    <div class=\"row column\">\n      <strong>Kurzbeschreibung:</strong> <p>Auf der Fussgängerbrücke liegt einen Teppich als Rutschhemmer, der die zu weiten Abstände der darunterliegenden Holzbretter decken soll.\n<br />Dieser Teppich ist eingerissen, er wurde vor Jahren schon mal ersetzt. Nur sollten zuerst die Holzbretter näher zusammen gelegt werden.\n<br />Gestern musste ich einem Behinderten helfen, der mit seinem Rollstuhl in diesen Spalten eingeklemmt war und sich nicht mehr selbst befreien konnte. Es ist auch für Velofahrer gefährlich.\n<br />Gruss Seppi</p>\n    </div>\n\n  <div class=\"row column\">\n    <strong>Hier geolokalisiert:</strong>\n    <div class=\"address__info\">\n      <div class=\"address__icon\">\n        <svg width=\"40\" height=\"70\" aria-label=\"proposals\" role=\"img\" aria-hidden=\"true\" class=\"icon--proposals icon\"><title>proposals</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-proposals\"></use></svg>\n      </div>\n      <div class=\"address__details\">\n        <span>Luzern Viva Staffelnhof</span><br>\n\n      </div>\n    </div>\n  </div>\n\n\n\n    <div class=\"row column\">\n      <strong>Erstellungsdatum:</strong> 11.09.2023 17:37\n    </div>\n\n    <div class=\"row column\">\n      <strong>Anzahl der Stimmen:</strong> 0\n    </div>\n\n    <div class=\"row column\">\n      <strong>Nach Anzahl Stimmen sortieren:</strong> 148 von 151\n    </div>\n\n    <div class=\"row column\">\n      <strong>Anzahl Befürworter/innen:</strong> 0\n    </div>\n\n    <div class=\"row column\">\n      <strong>Nach Anzahl Gefällt mir-Angaben sortieren:</strong> 148 von 151\n    </div>\n\n    <div class=\"row column\">\n      <strong>Anzahl der Ergänzungen:</strong> 0\n    </div>\n\n    <div class=\"row column\">\n      <strong>Anzahl der Kommentare:</strong> 0\n      <ul id=\"proposal-comments-alignment-count\">\n        <li>\n<strong>positiv:</strong> 0\n</li>\n        <li>\n<strong>neutral:</strong> 0\n</li>\n        <li>\n<strong>negativ:</strong> 0\n</li>\n      </ul>\n    </div>\n\n    <div class=\"row column\">\n      <strong>Befürworter/innen:</strong>\n        <ul id=\"proposal-endorsers-list\">\n        </ul>\n    </div>\n\n    <div class=\"row column\">\n      <strong>Dazugehörige Veranstaltungen (kommt hier nicht zur Anwendung):</strong>\n        <ul id=\"related-meetings\">\n        </ul>\n    </div>\n\n\n    \n\n\n  </div>\n</div>\n\n\n\n\n<div class=\"card\">\n  <div class=\"card-divider\">\n    <h2 class=\"card-title\">\n      Expert/innen\n    </h2>\n  </div>\n\n  <div class=\"card-section\">\n    <div class=\"row column\">\n      <strong>Zugewiesene Expert/innen:</strong>\n      <ul id=\"valuators\">\n            <li>\n              <a target=\"blank\" href=\"/profiles/stadtgruen_slu\">Stadtgrün.slu</a>\n\n            </li>\n            <li>\n              <a target=\"blank\" href=\"/profiles/carlo_schaetzer\">Carlo Beltrame</a>\n\n                <a class=\"action-icon red-icon\" data-confirm=\"Bist du sicher, dass du die Zuweisung des Experten von dieser Meldung zurückzuziehen möchtest?\" title=\"Zuweisung entfernen\" rel=\"nofollow\" data-method=\"delete\" href=\"/admin/assemblies/schadenmelden/components/498/manage/proposals/643/valuation_assignments/224\"><span data-tooltip=\"true\" data-disable-hover=\"false\" data-click-open=\"false\" title=\"Zuweisung entfernen\"><svg aria-label=\"Zuweisung entfernen\" role=\"img\" class=\"icon--circle-x icon\"><title>Zuweisung entfernen</title><use href=\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg#icon-circle-x\"></use></svg></span></a>\n            </li>\n      </ul>\n\n  <div id=\"js-assign-proposal-to-valuator-actions\" class=\"js-bulk-action-form form-single-proposal\" style=\"max-width:400px\">\n    <form id=\"js-form-assign-proposal-to-valuator\" class=\"flex--lc flex-gap--1\" action=\"/admin/assemblies/schadenmelden/components/498/manage/proposals/valuation_assignment\" accept-charset=\"UTF-8\" method=\"post\"><input type=\"hidden\" name=\"authenticity_token\" value=\"8Gr9YY4S2cIrtEOZQxhzhPHImoyXWn5RATUngITMY/jUIcYEm77pmre8ttOnaKzqFISCCe4n7jAsSrYi1RyI/g==\" autocomplete=\"off\" />\n      <div class=\"checkboxes hide\">\n        <input type=\"checkbox\" name=\"proposal_ids[]\" id=\"proposal_ids_\" value=\"643\" class=\"js-check-all-proposal js-proposal-id-643\" checked=\"checked\" />\n      </div>\n\n      <select name=\"valuator_role[id]\" id=\"valuator_role_id\"><option value=\"\">Einem Experten zuweisen</option>\n<option value=\"200\">STIL-Betrieb.slu</option>\n<option value=\"201\">Abfallbewirtschaftung.slu</option>\n<option value=\"202\">Stadtgrün.slu</option>\n<option value=\"203\">Strassen.slu</option>\n<option value=\"204\">Immobilien.slu</option>\n<option value=\"205\">Kunstbauten.slu</option>\n<option value=\"207\">Verkehrstechnik.slu</option>\n<option value=\"224\">Carlo Beltrame</option></select>\n      <button type=\"submit\" name=\"commit\" id=\"js-submit-assign-proposal-to-valuator\" class=\"button small button--simple float-left\">Zuweisen</button>\n</form>  </div>\n\n    </div>\n  </div>\n</div>\n\n  <section class=\"comments\">\n  <div class=\"card\">\n    <div class=\"card-divider\">\n      <h2 class=\"card-title\">Interne Notizen</h2>\n    </div>\n\n    <div class=\"card-section\">\n      <div class=\"comment-thread\">\n          <div class=\"card\">\n            <div class=\"card-divider\">\n              <div class=\"comment\">\n                <div class=\"comment__header\">\n                  <div class=\"author-data\">\n                    <div class=\"author-data__main\">\n                      <div class=\"author author--inline\">\n                        <strong><span class=\"author__name\">Kunstbauten.slu</span></strong>\n                        <span>12.09.2023 12:06\n\n\n</span>\n                      </div>\n                    </div>\n                  </div>\n                </div>\n                <div class=\"comment__content\">\n                  \n\n  Die Brücke Ruopigen 5 (Nr. 34) befindet sich gemäss WebGIS \"Städtische Grundstücke\" im grünen Bereich. Deshalb leite ich die Schadenmeldung nach Rücksprache mit Patrick Kessler an Stadtgrün weiter.  Bei Fragen zur Brücke stehe ich im Sinne der Fachunterstützung zur Verfügung. 12.09.2023 / Jan Amstutz\n\n\n                </div>\n              </div>\n            </div>\n          </div>\n      </div>\n    </div>\n    <div class=\"card-section\">\n      <div class=\"add-comment\">\n        <div class=\"card\">\n          <div class=\"card-divider\">\n            <h2 class=\"card-title\">Interne Notiz hinterlassen</h2>\n          </div>\n          <div class=\"card-section\">\n            <form class=\"form new_proposal_note\" id=\"new_proposal_note_\" novalidate=\"novalidate\" data-abide=\"true\" data-live-validate=\"true\" data-validate-on-blur=\"true\" action=\"/admin/assemblies/schadenmelden/components/498/manage/proposals/643/proposal_notes\" accept-charset=\"UTF-8\" method=\"post\"><input type=\"hidden\" name=\"authenticity_token\" value=\"618X5fXVtAH1GBjw6AGDhE43oYAqKpNA2yPz+g5OBPrNNpj2APIi0bqijJsGhbF4qrp20B4lQ0pi6BgCzA+PWQ==\" autocomplete=\"off\" />\n  <div class=\"row column\">\n    <label for=\"proposal_note_body\">Interne Notiz<span title=\"Erforderlich\" data-tooltip=\"true\" data-disable-hover=\"false\" data-keep-on-hover=\"true\" class=\"label-required\"><span aria-hidden=\"true\">*</span><span class=\"show-for-sr\">Erforderlich</span></span><textarea required=\"required\" rows=\"10\" name=\"proposal_note[body]\" id=\"proposal_note_body\">\n</textarea><span class=\"form-error\">In diesem Feld ist ein Fehler aufgetreten.</span></label>\n  </div>\n  <div class=\"button--double form-general-submit\">\n    <button type=\"submit\" name=\"commit\" class=\"button\">Notiz speichern</button>\n  </div>\n</form>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n</section>\n\n\n  <form class=\"form edit_proposal_answer\" id=\"edit_proposal_answer_643\" novalidate=\"novalidate\" data-abide=\"true\" data-live-validate=\"true\" data-validate-on-blur=\"true\" action=\"/admin/assemblies/schadenmelden/components/498/manage/proposals/643/proposal_answers/643\" accept-charset=\"UTF-8\" method=\"post\"><input type=\"hidden\" name=\"_method\" value=\"patch\" autocomplete=\"off\" /><input type=\"hidden\" name=\"authenticity_token\" value=\"J7WWXljXj8AWmXwdOAdX8IwTORL5je/pxfUul8G8pnSylag0TeHI7g8FD/7M2osPhpvV1QD5yH/hXr0Ld86ewg==\" autocomplete=\"off\" />\n  <div class=\"card\" id=\"proposal-answer\">\n    <div class=\"card-divider\">\n      <h2 class=\"card-title\">Antwort auf Schadensmeldung Belag mit Rissen</h2>\n    </div>\n\n    <div class=\"card-section\">\n\n    <div class=\"row column\">\n    <script src=\"/decidim-packs/js/decidim_templates_admin.js\" defer=\"defer\"></script>\n\n    <select id=\"proposal_answer_template_chooser\" data-locale=\"en\" data-proposal=\"643\" data-url=\"http://localhost:3000/admin/templates/proposal_answer_templates/fetch\">\n      <option value=\"\">Wähle eine Vorlage</option>\n        <option value=\"13\">Bearbeitet - rasche Bearbeitung</option>\n        <option value=\"10\">In Bearbeitung - Abklärung läuft</option>\n        <option value=\"11\">Extern weitergeleitet</option>\n        <option value=\"12\">Nicht zuweisbar</option>\n        <option value=\"14\">Bearbeitet - Bearbeitung mit Unterhaltsarbeiten</option>\n        <option value=\"16\">Keine Bearbeitung</option>\n        <option value=\"15\">Bearbeitet - spätere Bearbeitung</option>\n        <option value=\"17\">Kein Infrastrukturschaden</option>\n        <option value=\"18\">Kein Infrastrukturschaden - intern weitergeleitet</option>\n    </select>\n  </div>\n\n\n      <div class=\"row column\">\n        <input type=\"hidden\" name=\"proposal_answer[internal_state]\" value=\"\" autocomplete=\"off\" /><input type=\"radio\" value=\"not_answered\" name=\"proposal_answer[internal_state]\" id=\"proposal_answer_internal_state_not_answered\" /><label for=\"proposal_answer_internal_state_not_answered\">Neu</label><input type=\"radio\" value=\"accepted\" name=\"proposal_answer[internal_state]\" id=\"proposal_answer_internal_state_accepted\" /><label for=\"proposal_answer_internal_state_accepted\">Beantwortet</label><input type=\"radio\" value=\"rejected\" name=\"proposal_answer[internal_state]\" id=\"proposal_answer_internal_state_rejected\" /><label for=\"proposal_answer_internal_state_rejected\">Extern weitergeleitet / nicht zuweisbar</label><input type=\"radio\" value=\"evaluating\" name=\"proposal_answer[internal_state]\" id=\"proposal_answer_internal_state_evaluating\" /><label for=\"proposal_answer_internal_state_evaluating\">In Bearbeitung</label>\n      </div>\n\n      <div class=\"row column\">\n        <div class=\"editor \"><label for=\"proposal_answer_answer_de\">Antworten</label><input autofocus=\"autofocus\" rows=\"15\" label=\"Antworten\" autocomplete=\"off\" type=\"hidden\" name=\"proposal_answer[answer_de]\" id=\"proposal_answer_answer_de\" /><div class=\"editor-container \" data-toolbar=\"full\" data-disabled=\"false\" data-editor-images=\"true\" data-upload-images-path=\"/editor_images\" data-drag-and-drop-help-text=\"Bilder können via drag &amp; drop eingefügt werden. Alternativ via Button im Texteditor.\" style=\"height: 25rem\"></div></div>\n      </div>\n\n    </div>\n  </div>\n\n  <div class=\"button--double form-general-submit\">\n    <button type=\"submit\" name=\"commit\" class=\"button\">Antworten</button>\n  </div>\n</form>\n\n  </div>\n\n      </div>\n    </div>\n      </div><!--/.layout-wrapper-->\n</main>\n\n    <div class=\"small reveal confirm-reveal\" id=\"confirm-modal\" aria-hidden=\"true\" role=\"dialog\" aria-labelledby=\"confirm-modal-title\" data-reveal data-multiple-opened=\"true\">\n  <div class=\"reveal__header\">\n    <h2 class=\"reveal__title\" id=\"confirm-modal-title\">Bestätigen</h2>\n    <button class=\"close-button\" data-close aria-label=\"Fenster schließen\"\n      type=\"button\">\n      <span aria-hidden=\"true\">&times;</span>\n    </button>\n  </div>\n  <div class=\"confirm-content\">\n    <div class=\"confirm-modal-content\"></div>\n  </div>\n  <div class=\"confirm-modal-footer reveal__footer\">\n    <div class=\"buttons button--double\">\n      <a class=\"button\" role=\"button\" href=\"#\" data-confirm-ok aria-label=\"Ok\">Ok</a>\n      <a class=\"button clear\" role=\"button\" href=\"#\" data-confirm-cancel aria-label=\"Abbrechen\">Abbrechen</a>\n    </div>\n  </div>\n</div>\n\n    \n<script>\n  Decidim.config.set({\"icons_path\":\"/decidim-packs/media/images/icons-c4fd0f43651700b0c768.svg\",\"messages\":{\"selfxssWarning\":{\"title\":\"Stop!\",\"description\":\"Diese Browser-Funktion ist nur für Entwickler gedacht und du solltest hier keine Daten einfügen, wenn du darum gebeten wirst. Das Einfügen von Inhalten in dieses Fenster kann deine Privatsphäre beeinträchtigen und Hackern Zugriff auf dein Konto ermöglichen.\"}}});\n  Decidim.InputCharacterCounter.configureMessages({\"charactersAtLeast\":{\"one\":\"Mindestens %count% Zeichen\",\"other\":\"mindestens %count% Buchstaben\"},\"charactersLeft\":{\"one\":\"%count% Zeichen übrig\",\"other\":\"%count% Zeichen übrig\"}});\n</script>\n\n    \n\n    <script src=\"/decidim-packs/js/vendors-node_modules_axe-core_axe_js.js\"></script>\n<script src=\"/decidim-packs/js/decidim_dev.js\"></script>\n  </body>\n</html>\n",
  "status": 200,
  "statusText": "OK"
}

The response is apparently a HTML saying "Would you like to continue your session?", even though my session cookie definitely is not expired. This tells me your HTTP request is missing some cookie or CSRF token.

That is as far as I got debugging this issue. Let me know in case you need more information.

Hi, this issue should be solved in the last version of reporting proposals.
I've also ensured compatibility with version 27.4

Thanks for the fix! We have deployed it, and it is currently being tested.