Skip to content

Conversation

@donny-wong
Copy link
Contributor

Proposed Changes

When trying to download the "One Time Only Annotations" for a certain course, it goes to the "Not Found" page. The reason for this is that there is a bug when creating this button link "One Time Only Annotations". It is passing an 'id' which would associate to a Categorized Annotation, and the value of the id is taken from the assignment's id. First, we are not considering a specific 'Categorized Annotation' and so we shouldn't be taking in an id, second issue is that the id that was passed was from an assignment id instead of a Categorized Annotation id.

...

Screenshots of your changes (if applicable)
Associated documentation repository pull request (if applicable)

Type of Change

(Write an X or a brief description next to the type or types that best describe your changes.)

Type Applies?
🚨 Breaking change (fix or feature that would cause existing functionality to change)
New feature (non-breaking change that adds functionality)
🐛 Bug fix (non-breaking change that fixes an issue) x
🎨 User interface change (change to user interface; provide screenshots)
♻️ Refactoring (internal change to codebase, without changing functionality)
🚦 Test update (change that only adds or modifies tests)
📦 Dependency update (change that updates a dependency)
🔧 Internal (change that only affects developers or continuous integration)

Checklist

(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the [ ] into a [x] in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)

Before opening your pull request:

  • I have performed a self-review of my changes.
    • Check that all changed files included in this pull request are intentional changes.
    • Check that all changes are relevant to the purpose of this pull request, as described above.
  • I have added tests for my changes, if applicable.
    • This is required for all bug fixes and new features.
  • I have updated the project documentation, if applicable.
    • This is required for new features.
  • If this is my first contribution, I have added myself to the list of contributors.

After opening your pull request:

  • I have updated the project Changelog (this is required for all changes).
  • I have verified that the pre-commit.ci checks have passed.
  • I have verified that the CI tests have passed.
  • I have reviewed the test coverage changes reported by Coveralls.
  • I have requested a review from a project maintainer.

Questions and Comments

(Include any questions or comments you have regarding your changes.)

@donny-wong donny-wong added this to the v2.5.4 milestone Nov 8, 2024
@donny-wong donny-wong changed the title fixed one time annotation 'Not Found' error Fixed Download One Time Annotation 'Not Found' error Nov 8, 2024
@coveralls
Copy link
Collaborator

coveralls commented Nov 8, 2024

Pull Request Test Coverage Report for Build 11783665961

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 91.671%

Totals Coverage Status
Change from base Build 11696718050: 0.001%
Covered Lines: 40715
Relevant Lines: 43744

💛 - Coveralls

david-yz-liu and others added 7 commits November 9, 2024 07:56
…oject#7293)

* build(deps-dev): bump factory_bot_rails from 6.4.3 to 6.4.4

Bumps [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails) from 6.4.3 to 6.4.4.
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md)
- [Commits](thoughtbot/factory_bot_rails@v6.4.3...v6.4.4)

---
updated-dependencies:
- dependency-name: factory_bot_rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert rackup to v1.0.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Liu <david@cs.toronto.edu>
…t#7286)

* build(deps): bump rails_performance from 1.2.2 to 1.2.3

Bumps [rails_performance](https://github.com/igorkasyanchuk/rails_performance) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/igorkasyanchuk/rails_performance/releases)
- [Changelog](https://github.com/igorkasyanchuk/rails_performance/blob/master/CHANGES.md)
- [Commits](https://github.com/igorkasyanchuk/rails_performance/commits/1.2.3)

---
updated-dependencies:
- dependency-name: rails_performance
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert rackup to v1.0.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Liu <david@cs.toronto.edu>
* build(deps): bump rails from 7.2.1.1 to 7.2.2

Bumps [rails](https://github.com/rails/rails) from 7.2.1.1 to 7.2.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v7.2.1.1...v7.2.2)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert rackup to v1.0.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Liu <david@cs.toronto.edu>
…t#7277)

Bumps the rails group with 1 update: [@rails/actioncable](https://github.com/rails/rails).


Updates `@rails/actioncable` from 7.2.100 to 7.2.200
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/commits)

---
updated-dependencies:
- dependency-name: "@rails/actioncable"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@donny-wong
Copy link
Contributor Author

The pre-commit errors are related to Style/SafeNavigationChainLength, which is now addressed in the PR #7301

@david-yz-liu
Copy link
Collaborator

@donny-wong please pull the changes from master and then update this branch. Thanks!

…-wong/Markus into one_time_annotation_page_not_found
@donny-wong donny-wong closed this Nov 11, 2024
@donny-wong
Copy link
Contributor Author

We have a new PR for this issue found here: #7302

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.

3 participants