Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

MEI-15697 Staff tools - download failure - #2168

Open
wasifarbisoft wants to merge 2 commits into
developmentfrom
MEI-15697
Open

MEI-15697 Staff tools - download failure#2168
wasifarbisoft wants to merge 2 commits into
developmentfrom
MEI-15697

Conversation

@wasifarbisoft

Copy link
Copy Markdown

No description provided.

Comment on lines 318 to 321
csvwriter = csv.writer(output_buffer)
csvwriter.writerows(self._get_utf8_encoded_rows(rows))
csvwriter.writerows(self._get_utf8_encoded_rows(rows, encode_for_utf8=True))
output_buffer.seek(0)
self.store(course_id, filename, output_buffer)
self.store(course_id, filename, output_buffer, batched=True)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The store_rows usage of the instructor_task app is widespread as it's being used in different xblocks as well as edx itself. So It's good to do the change where it's impacting and use add_rows and call store method rather than changing in a core function.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@mudassir-hafeez
I have updated the Pull Request and used default arguments in store_rows so that the widespread usage of this method doesn't get affected.

@wasifarbisoft

wasifarbisoft commented Jan 24, 2022

Copy link
Copy Markdown
Author

@mudassir-hafeez ,
Please review the Problem Builder Pull Request as well. ProblemBuilder
https://github.com/mckinseyacademy/problem-builder/pull/1/files

@mudassir-hafeez

Copy link
Copy Markdown

Build is being failed due to xblock poll repo. wasn't that fixed by token used by you previously?

@wasifarbisoft

Copy link
Copy Markdown
Author

@mudassir-hafeez I haven't merged personal access token on QA because it was finalised yet at that time by DevOps
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants