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

fix: move links with status None to forbidden link #36453

Conversation

Faraz32123
Copy link
Contributor

Ticket: TNL-11930

This link: https://www.geo.arizona.edu/Antevs/ecol438/lect18.html#01 belongs to retries_list and has status None. But in browser this link works fine. So in this commit, moving the external links with status None to external forbidden links category.

Before:
As shown below, this link goes to general broken link category.
Screenshot 2025-03-27 at 1 54 28 PM

After:
Now this link goes to Manual link check category.
Screenshot 2025-03-27 at 1 56 50 PM

- move external links with status None to external forbidden links
- also modified the tests that fails for previous code
@Faraz32123 Faraz32123 force-pushed the fix/move_external_links_with_status_None_to_external_forbidden branch from 0603e80 to bf991c0 Compare March 27, 2025 10:21
Copy link
Contributor

@hinakhadim hinakhadim left a comment

Choose a reason for hiding this comment

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

Code changes looks good to me!
Is there any other link having same behavior in the course?
Means, The link is working and is categorized as Broken?

@Faraz32123
Copy link
Contributor Author

@hinakhadim there's is 404 category for links, if you see in above image, link actually returns 404. I don't think we should move these kind of links to any other category as they return 404 and keep showing these as broken.

@hinakhadim
Copy link
Contributor

404 are considered as broken links.

@Faraz32123
Copy link
Contributor Author

yes, other than these we don't have any other errors for external links.

@Faraz32123 Faraz32123 merged commit 646c2ac into master Mar 28, 2025
49 checks passed
@Faraz32123 Faraz32123 deleted the fix/move_external_links_with_status_None_to_external_forbidden branch March 28, 2025 07:19
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

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