department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
92 stars 68 forks source link

Content Audit - Phone Numbers will not export data when filtered by Content type #16461

Open omahane opened 7 months ago

omahane commented 7 months ago

Problem statement

The view cannot be exported by content type, which is likely to be one of the most common ways to filter this information. As it is, the view can be filtered by content type, but the filtered data will not export.

Describe the defect

The Content Audit - Phone Numbers does not successfully download when it has been filtered by Content Type.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://prod.cms.va.gov/admin/content/audit/phone-numbers
  2. Click on Content type
  3. Choose "NCA"
  4. Click Filter
  5. Verify that it filters the view to only show NCA facilities
  6. Click Download CSV
  7. Verify that you are redirected to your user page /user/#### and presented with the following error: "The submitted value nca_facility in the type element is not allowed."
  8. Click on the "here" of "Download the file here"
  9. Open the downloaded file
  10. Confirm that it's empty

AC / Expected behavior

Screenshots

Screenshot 2023-12-15 at 4 20 41 PM

Labels

(You can delete this section once it's complete)

Team

Please check the team(s) that will do this work.

jilladams commented 6 months ago

From planning: noting, let's timebox this to the 3 points, and if it's not solvable in that time, we'll likely icebox it.