quintel / etmodel

Professional interface of the Energy Transition model.
https://energytransitionmodel.com/
MIT License
33 stars 14 forks source link

ActiveRecord::ValueTooLong: Mysql2::Error: Data too long for column 'scenario_id_history' at row 1 #4278

Closed sentry-io[bot] closed 6 months ago

sentry-io[bot] commented 6 months ago

Sentry Issue: ETMODEL-8P

Mysql2::Error: Data too long for column 'scenario_id_history' at row 1
  app/services/update_saved_scenario.rb:39:in `block in call'
    ss.save
  app/services/update_saved_scenario.rb:24:in `call'
    saved_scenario.tap do |ss|
  app/services/service.rb:8:in `call'
    new(...).call
  app/controllers/scenarios_controller.rb:106:in `update'
    update = UpdateSavedScenario.call(engine_client, @saved_scenario, scenario_id)
...
(173 additional frame(s) were not displayed)

ActiveRecord::ValueTooLong: Mysql2::Error: Data too long for column 'scenario_id_history' at row 1