Vous avez quelque chose à partager ?

Dites-nous comment faire de Papeez le meilleur produit pour vous.

Completed

NoMethodError: undefined method `public_token' for nil (NoMethodError)

Sentry Issue: EVALMEE-3H8 NoMethodError: undefined method `public_token' for nil (NoMethodError) link(:exam_session) { |r, obj| r.api_public_v2_exam_exam_session_url(obj.quiz.uuid, obj.session.public_token) } ^^^^^^^^^^^^^ from app/blueprints/api/public/v2/exam_attempt_blueprint.rb:42:in 'block in ' from app/blueprints/api/public/v2/base_blueprint.rb:32:in 'block (2 levels) in has_links' from app/blueprints/api/public/v2/base_blueprint.rb:31:in 'each' from app/blueprints/api/public/v2/base_blueprint.rb:31:in 'each_with_object' from app/blueprints/api/public/v2/base_blueprint.rb:31:in 'block in has_links' from blueprinter/extractors/block_extractor.rb:9:in 'extract' from blueprinter/extractors/auto_extractor.rb:23:in 'extract' from blueprinter/field.rb:17:in 'extract' from blueprinter/helpers/base_helpers.rb:64:in 'block in object_to_hash' from blueprinter/helpers/base_helpers.rb:61:in 'each' from blueprinter/helpers/base_helpers.rb:61:in 'each_with_object' from blueprinter/helpers/base_helpers.rb:61:in 'object_to_hash' from blueprinter/helpers/base_helpers.rb:38:in 'block in prepare_data' from blueprinter/helpers/base_helpers.rb:37:in 'map' from blueprinter/helpers/base_helpers.rb:37:in 'prepare_data' from blueprinter/base.rb:256:in 'prepare' from blueprinter/helpers/base_helpers.rb:22:in 'prepare_for_render' from blueprinter/base.rb:217:in 'render_as_hash' from app/models/public/paginated_collection.rb:71:in 'render_as_hash' from blueprinter/extractors/public_send_extractor.rb:9:in 'public_send' from blueprinter/extractors/public_send_extractor.rb:9:in 'extract' from blueprinter/extractors/auto_extractor.rb:23:in 'extract' from blueprinter/field.rb:17:in 'extract' from blueprinter/helpers/base_helpers.rb:64:in 'block in object_to_hash' from blueprinter/helpers/base_helpers.rb:61:in 'each' from blueprinter/helpers/base_helpers.rb:61:in 'each_with_object' from blueprinter/helpers/base_helpers.rb:61:in 'object_to_hash' from blueprinter/helpers/base_helpers.rb:43:in 'prepare_data' from blueprinter/base.rb:256:in 'prepare' from blueprinter/extractors/association_extractor.rb:24:in 'extract' from blueprinter/field.rb:17:in 'extract' from blueprinter/helpers/base_helpers.rb:64:in 'block in object_to_hash' from blueprinter/helpers/base_helpers.rb:61:in 'each' from blueprinter/helpers/base_helpers.rb:61:in 'each_with_object' from blueprinter/helpers/base_helpers.rb:61:in 'object_to_hash' from blueprinter/helpers/base_helpers.rb:38:in 'block in prepare_data' from active_record/relation/delegation.rb:100:in 'each' from active_record/relation/delegation.rb:100:in 'each' from blueprinter/helpers/base_helpers.rb:37:in 'map' from blueprinter/helpers/base_helpers.rb:37:in 'prepare_data' from blueprinter/base.rb:256:in 'prepare' from blueprinter/helpers/base_helpers.rb:22:in 'prepare_for_render' from blueprinter/base.rb:217:in 'render_as_hash' from app/models/public/paginated_collection.rb:71:in 'render_as_hash' from blueprinter/extractors/public_send_extractor.rb:9:in 'public_send' from blueprinter/extractors/public_send_extractor.rb:9:in 'extract' from blueprinter/extractors/auto_extractor.rb:23:in 'extract' from blueprinter/field.rb:17:in 'extract' from blueprinter/helpers/base_helpers.rb:64:in 'block in object_to_hash' from blueprinter/helpers/base_helpers.rb:61:in 'each' from blueprinter/helpers/base_helpers.rb:61:in 'each_with_object' from blueprinter/helpers/base_helpers.rb:61:in 'object_to_hash' from blueprinter/helpers/base_helpers.rb:43:in 'prepare_data' from blueprinter/base.rb:256:in

Linear about 1 month ago

💡 Nouvelle Fonctionnalité