Skip to content

[SE-4631] add CCX ID to generated filename prefixes (#27028) - #435

Merged
gabor-boros merged 1 commit into
opencraft-release/koa.3from
gabor/cherry-pick-ccx-filename-koa.3
Nov 9, 2021
Merged

[SE-4631] add CCX ID to generated filename prefixes (#27028)#435
gabor-boros merged 1 commit into
opencraft-release/koa.3from
gabor/cherry-pick-ccx-filename-koa.3

Conversation

@gabor-boros

@gabor-boros gabor-boros commented Oct 25, 2021

Copy link
Copy Markdown

This is the backport of https://github.com/edx/edx-platform/pull/27028.


This pull requests backport a feature to include CCX course IDs in the generated course filenames used for downloading reports, etc.

The suffix appended to the generated filename prefix is following the <separator>_ccx_<ccx id> pattern, to ensure unique filename generation per ccx - previously all CCX courses were downloaded with the same name.

Dependencies: None

Screenshots:
Screenshot 2021-03-16 at 16 22 12

Sandbox URL: TBD

Merge deadline: None

Testing instructions:

  1. Navigate to https://pr29101.sandbox.opencraft.hosting
  2. Login as staff
  3. Navigate to https://pr29101.sandbox.opencraft.hosting/courses/ccx-v1:edX+DemoX+Demo_Course+ccx@1/instructor#view-data_download
  4. Click "Download profile information as a CSV" button
  5. Check that the file name contains CCX

@pkulkark pkulkark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

  • I tested this: verified that the required ccx prefix is added to the filename as described in the testing instructions
  • I read through the code
  • I checked for accessibility N/A
  • Incudes documentation N/A

@gabor-boros
gabor-boros merged commit e82c8d1 into opencraft-release/koa.3 Nov 9, 2021
@gabor-boros
gabor-boros deleted the gabor/cherry-pick-ccx-filename-koa.3 branch November 9, 2021 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants