GithubHelp home page GithubHelp logo

Comments (1)

takahashim avatar takahashim commented on June 7, 2024

To investigate the cause, I added the following logging:

diff --git a/decidim-core/app/cells/decidim/content_blocks/participatory_space_metadata_cell.rb b/decidim-core/app/cells/decidim/content_blocks/participatory_space_metadata_cell.rb
index 2a2c87385a..57bf2a669a 100644
--- a/decidim-core/app/cells/decidim/content_blocks/participatory_space_metadata_cell.rb
+++ b/decidim-core/app/cells/decidim/content_blocks/participatory_space_metadata_cell.rb
@@ -10,6 +10,8 @@ def show
       end
 
       def metadata_valued_items
+        Rails.logger.info "--------------------------------------------------------"
+        Rails.logger.info "presented_space: #{presented_space.class}, #{self.class}"
         metadata_items.filter_map do |item|
           next if (value = translated_attribute(presented_space.send(item))).blank?
 

and it displayed like this:

00:19:09 web.1         | --------------------------------------------------------
00:19:09 web.1         |   CACHE Decidim::Assembly Load (0.0ms)  SELECT "decidim_assemblies".* FROM "decidim_assemblies" WHERE "decidim_assemblies"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
00:19:09 web.1         | presented_space: Decidim::AssemblyPresenter, Decidim::Assemblies::ContentBlocks::MetadataCell

So I guess it's a problem of Decidim::Assemblies::ContentBlocks::MetadataCell.

from decidim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.