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

[BUG FIX] [MER-3565] 500 error when launching assessments from a page link #5003

Conversation

gastonabella
Copy link
Contributor

@gastonabella gastonabella commented Aug 6, 2024

MER-3565

Fixes Internal Server Error when launching assessments from page links. This PR considers links handling for both activity-rendered and page-rendered links. It also fixes the back button when visiting an assessment via a link.

fix-page-link.mov

@gastonabella gastonabella changed the title [BUGFIX] [MER-3565] 500 error when launching assessments from a page link [BUG FIX] [MER-3565] 500 error when launching assessments from a page link Aug 6, 2024
@gastonabella gastonabella force-pushed the bugfix/MER-3565-error-when-launching-activities-from-a-page-link branch from 3f67bd2 to 753854d Compare August 6, 2024 22:34
Copy link
Contributor

@eliknebel eliknebel left a comment

Choose a reason for hiding this comment

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

Nice work

@gastonabella gastonabella force-pushed the bugfix/MER-3565-error-when-launching-activities-from-a-page-link branch from 49c9c0c to 1d2a8d9 Compare August 7, 2024 14:03
@gastonabella gastonabella changed the base branch from master to hotfix-v0.28.2 August 7, 2024 14:04
@gastonabella gastonabella force-pushed the bugfix/MER-3565-error-when-launching-activities-from-a-page-link branch from 1d2a8d9 to 6835e13 Compare August 7, 2024 14:46
@eliknebel eliknebel merged commit c23d837 into hotfix-v0.28.2 Aug 7, 2024
5 checks passed
@eliknebel eliknebel deleted the bugfix/MER-3565-error-when-launching-activities-from-a-page-link branch August 7, 2024 16:08
eliknebel added a commit that referenced this pull request Aug 15, 2024
* [BUG FIX] [MER-3423] Using keyboard shortcut (ctrl-del) to delete after a component has been copied causes issues (#4955)

* MER-3423

* More changes

* More Changes

* trying to re-run checks

* Update EditingCanvas.tsx

* [MER-3393]  Add grace period and fix some issues

* [MER-3393]  Changes from review

* disable likert viz

* async project export

* do not include timestamp in filename to prevent unnecessary S3 usage

* fix tests

* fix cyclical dependency issue
fix button padding

* fix warnings

* fix flaky test

* dial up assert_receive time

* add direct delivery research consent form setting

* add research consent link, update form and logic to handle different scenarios

* fix warnings

* fix tests

* flaky test

* [BUG FIX] [MER-3010] fixes sparse likert and multiple attempts (#4966)

Co-authored-by: Raphael Gachuhi <rgachuhi@cmu.edu>

* [BUG FIX] [MER-3516] 500 error when-re-accessing a manually graded assessment (#4971)

* handle attempt submitted state for manually graded activities

* fix test

* [BUG FIX] [MER-3506] After completing a lesson the back arrow does not work (#4979)

* MER-3506 Fix back link

* MER-3506 Add test

* MER-3506 Make more robust SetRequestPath plug

* [BUG FIX] [MER-3548] Change default analytic_version value to v2 for Section and Project (#4991)

* [BUG FIX] [MER-3548] Change default analytic_version value to v2 for section and project

* [BUG FIX] [MER-3548] Add a new test and adjust existing tests

* [BUG FIX] [MER-3553] Lesson end date formatting breaks ability to load Home screen (#4992)

* handle case when days_difference datetime cannot be localized

* fix flaky test

* [BUG FIX] [MER-3557] Not authorized message displayed to student on LTI launch (#4994)

* remove institution_instructor role from list of allow_configure_section_roles

* skip flaky test

* bump version number

* [FEATURE] [MER-3550] Hide agenda home screen (#4993)

* [MER-3550] Adds agenda flag field to section

* [MER-3550] Adds button to toggle agenda field value

* [MER-3550] Renders agenda component conditionally

* [MER-3550] Adds tests

* only get the latest attempt for the page if there are multiple attempts (#4996)

* [BUG FIX] [MER-3565] 500 error when launching assessments from a page link (#5003)

* [MER-3565] Fix page link error on activity rendering

* [MER-3565] Fix page link error on page rendering

* [MER-3565] Add missing props

* [MER-3565] Fix typescript tests

* [MER-3565] Update docker compose command in CI test runner

* fix quiz scores query (#5004)

* [BUG FIX] [MER-3566] remove grade pass back optimization to filter out students that are no longer enrolled in the LMS course (#5006)

* do not show 'Save' paywall settings button for non admin users

* create SetPaywallSummary live session plug

* add SetPaywallSummary plug to routes

* add pay early message to delivery layouts

* remove IO.inspect

* add tests

* improve stub current time for testing

* remove commented test

* bump version number

* [BUG FIX] [MER-3573] torus learning proficiency algorithm leads to undesired results (#5007)

* return not enough data if num first attempts is less than 3

* use sum to aggregate num first attempts

* fixes explanation strategy ui bug (#5010)

Co-authored-by: Raphael Gachuhi <rgachuhi@cmu.edu>

* fix mix deps

---------

Co-authored-by: Devesh Tiwari <70621864+dtiwarATS@users.noreply.github.com>
Co-authored-by: Santiago Simoncelli <simoncellisantiago@gmail.com>
Co-authored-by: Darren Siegel <siegel.darren@gmail.com>
Co-authored-by: Raphael <rgachuhi@users.noreply.github.com>
Co-authored-by: Raphael Gachuhi <rgachuhi@cmu.edu>
Co-authored-by: Francisco-Castro <47334502+Francisco-Castro@users.noreply.github.com>
Co-authored-by: Gastón Abellá <gaston@wyeworks.com>
Co-authored-by: Nicolás Cirio <nicolas.cirio@wyeworks.com>
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