Bug #2485
closedEditing class imported from Example42 raise error on submit (develop branch)
Description
How to reproduce:
-Install foreman from source develop branch
-Edit any class imported from example42 modules.
-Submit without changing anything.
Error raised:
Oops, we're sorry but something went wrong
x SQLite3::ConstraintException: constraint failed: UPDATE "lookup_keys" SET "description" = '', "default_value" = '--- "params_lookup(\"monitor_target\", \"global\")"', "updated_at" = NULL WHERE "lookup_keys"."id" = 733
If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries.
ActiveRecord::StatementInvalid
SQLite3::ConstraintException: constraint failed: UPDATE "lookup_keys" SET "description" = '', "default_value" = '--- "params_lookup(\"monitor_target\", \"global\")"', "updated_at" = NULL WHERE "lookup_keys"."id" = 733
app/controllers/puppetclasses_controller.rb:45:in `update'
lib/foreman/thread_session.rb:31:in `clear_thread'
Back
Updated by Joseph Magen over 11 years ago
- Status changed from New to Ready For Testing
- Assignee set to Joseph Magen
pull request https://github.com/theforeman/foreman/pull/618
Updated by Joseph Magen over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 27120f6239e252fb392ad3d61e68d7fc4dd0c740.