Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Revert "When generating PLC course set all course type and published state information"" #44534

Merged
merged 4 commits into from
Jan 26, 2022

Conversation

dmcavoy
Copy link
Contributor

@dmcavoy dmcavoy commented Jan 26, 2022

Reverts #44533. Reimplements #44478

When this was merged to staging the build failed because andrea-test script had null values for published_state, instruction_type, instructor_audience, participant_audience. We have been allowing null values for these fields on scripts because if they are in a unit_group then they should be null however it looks like we need some stronger validation here. Working on that in #44538.

Updated the andrea-test.script_json and ran bundle exec rake build to make sure that the build passes. Added default values for right now in order to make sure seeding does not fail if something were to get messed up again before the validation is added.

@dmcavoy dmcavoy merged commit c663c3f into staging Jan 26, 2022
@dmcavoy dmcavoy deleted the revert-44533-revert-44478-plc-course-audience branch January 26, 2022 20:35
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.

None yet

2 participants