Skip to content

[BUG] Cookie Overflow when trying to import CasaCase CSV #2855

@aedwardg

Description

@aedwardg

Impacted User Types

  • volunteers? ❌
  • supervisors? ❌
  • admins? ✔️
  • all casa admins? ✔️

Environment

Production (not verified in other environments)

Current Behavior

CasaCase CSV import fails when CSV only contains case numbers. Needs to be confirmed if this happens with a complete CSV as well.

Bugsnag error:

Event in production from casa in imports#create (details)
Unhandled error
ActionDispatch::Cookies::CookieOverflow: ActionDispatch::Cookies::CookieOverflow
Location
vendor/bundle/ruby/3.0.0/gems/actionpack-6.1.4.1/lib/action_dispatch/middleware/cookies.rb:678 - commit

Slack Link
https://rubyforgood.slack.com/archives/C010Z8RK8E6/p1635385879085500

Expected Behavior

When uploading a CSV with CaseContact required fields, there should be no error and upload should be successful.

How to Replicate

    • Log in as an admin.
    • Click on "System Imports" in the left sidebar menu.
    • Click on "Import Cases" tab
    • Click "Choose File" and choose a file with the correct headers, and only one column (case number).
# sample_broken_file.csv
display_name,email,phone_number
2,
2,
2,
.... more incorrect columns

QA Login Details:

Link to QA site

Login Emails:

password for all users: 123456

Questions? Join Slack!

We highly recommend that you join us in slack https://rubyforgood.herokuapp.com/ #casa channel to ask questions quickly and hear about office hours (currently Wednesday 6-8pm Pacific), stakeholder news, and upcoming new issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⬆️ ImportsWork relating to bulk importing new users and CASA cases.Difficulty: IntermediateSpans multiple domains or requires more advanced coding knowledgeHelp WantedThis is a special label that enables github to showcase issues that want helpType: Bug

    Type

    No type

    Projects

    Status

    Todo

    Status

    Low Prio

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions