This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Report a Bug

#BugReportDecidim Let's test Decidim and report bugs together

  • The process
  • I found a Bug!
chevron-left Back to list

Limiting the value of projects for participatory budgets

Avatar: Juan Leiva Juan Leiva
21/11/2018 08:26  
Accepted

Performing a simulation of a participatory budget of 9.500.000.000€ I tried to create a project of 5.803.980.100€ and gives the following error:

F, [2018-11-21T07:52:08.484510 #2831] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a]
F, [2018-11-21T07:52:08.484637 #2831] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a] ActiveModel::RangeError (5803980100 is out of range for ActiveModel::Type::Integer with limit 4 bytes):
F, [2018-11-21T07:52:08.484720 #2831] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a]
F, [2018-11-21T07:52:08.484909 #2831] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a] activemodel (5.2.1) lib/active_model/type/integer.rb:53:in `ensure_in_range'

The value for the budget of a project is limited to a 4-byte INT, causing assign as maximum value 4.294.967.295€

  • Filter results for category: 0.15.x 0.15.x

This proposal has been accepted because:

We have solved this incidence. You can follow the status here 

Endorsements count0
Limiting the value of projects for participatory budgets Comments 0

Reference: MDC-PROP-2018-11-13342
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: ee4ddba4e79bdcec6e63f669c6ed0205e9b6949991fbebd39116b44e0e4aed28

Source: {"body":{"es":"Performing a simulation of a participatory budget of 9.500.000.000€ I tried to create a project of 5.803.980.100€ and gives the following error:\r\n\r\nF, [2018-11-21T07:52:08.484510 gid://metadecidim/Decidim::Hashtag/11] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a]\r\nF, [2018-11-21T07:52:08.484637 gid://metadecidim/Decidim::Hashtag/11] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a] ActiveModel::RangeError (5803980100 is out of range for ActiveModel::Type::Integer with limit 4 bytes):\r\nF, [2018-11-21T07:52:08.484720 gid://metadecidim/Decidim::Hashtag/11] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a]\r\nF, [2018-11-21T07:52:08.484909 gid://metadecidim/Decidim::Hashtag/11] FATAL -- : [d57dda0f-f395-4243-8c1e-9fede5c6e39a] activemodel (5.2.1) lib/active_model/type/integer.rb:53:in `ensure_in_range'\r\n\r\nThe value for the budget of a project is limited to a 4-byte INT, causing assign as maximum value 4.294.967.295€"},"title":{"es":"Limiting the value of projects for participatory budgets"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/bug-report/f/210/proposals/13342/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/bug-report/f/210/proposals/13342/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

0 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?