Revert "Set session[:pg_id] if not set in implement route" #3256
Annotations
9 errors
test:
spec/support/controllers.rb#L5
ExercisesController GET #statistics assigns @Exercise
Failure/Error: = row(label: '.participants', value: @exercise.users.distinct.count)
ActionView::Template::Error:
PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying
LINE 1: ...INNER JOIN "submissions" ON "external_users"."id" = "submiss...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L59
ExercisesController GET #statistics renders the 'statistics' template
Failure/Error: = row(label: '.participants', value: @exercise.users.distinct.count)
ActionView::Template::Error:
PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying
LINE 1: ...INNER JOIN "submissions" ON "external_users"."id" = "submiss...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L53
ExercisesController GET #statistics responds with status ok
Failure/Error: = row(label: '.participants', value: @exercise.users.distinct.count)
ActionView::Template::Error:
PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying
LINE 1: ...INNER JOIN "submissions" ON "external_users"."id" = "submiss...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L21
StatisticsController GET #user_activity_history.json responds with content type 'application/json'
Failure/Error: render(json: send(data_source, interval, from, to))
ActiveRecord::StatementInvalid:
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer
LINE 1: ...tor_type" = $1 AND "submissions"."contributor_id" = "externa...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L53
StatisticsController GET #user_activity_history.json responds with status ok
Failure/Error: render(json: send(data_source, interval, from, to))
ActiveRecord::StatementInvalid:
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer
LINE 1: ...tor_type" = $1 AND "submissions"."contributor_id" = "externa...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L53
StatisticsController GET #user_activity.json responds with status ok
Failure/Error:
data: ExternalUser.joins(:submissions)
.where(['submissions.created_at >= ?', DateTime.now - 5.minutes])
.distinct('external_users.id').count,
ActiveRecord::StatementInvalid:
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer
LINE 1: ...tor_type" = $1 AND "submissions"."contributor_id" = "externa...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/support/controllers.rb#L21
StatisticsController GET #user_activity.json responds with content type 'application/json'
Failure/Error:
data: ExternalUser.joins(:submissions)
.where(['submissions.created_at >= ?', DateTime.now - 5.minutes])
.distinct('external_users.id').count,
ActiveRecord::StatementInvalid:
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer
LINE 1: ...tor_type" = $1 AND "submissions"."contributor_id" = "externa...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
|
test:
spec/concerns/lti_spec.rb#L21
Lti#clear_lti_session_data clears the session
Failure/Error: session.delete(:pg_id)
{} received :delete with unexpected arguments
expected: (:external_user_id)
got: (:pg_id)
Diff:
@@ -1 +1 @@
-[:external_user_id]
+[:pg_id]
|
test
Process completed with exit code 1.
|