Project

General

Profile

Actions

Bug #2485

closed

Editing class imported from Example42 raise error on submit (develop branch)

Added by Alejandro Falcon almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Joseph Magen almost 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Joseph Magen
Actions #2

Updated by Joseph Magen almost 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF