Skip to content

fix(redirector): Redirect to landing page if no request found#774

Merged
zzacharo merged 1 commit intoCERNDocumentServer:masterfrom
sakshamarora1:fix/comments_redirection
Apr 22, 2026
Merged

fix(redirector): Redirect to landing page if no request found#774
zzacharo merged 1 commit intoCERNDocumentServer:masterfrom
sakshamarora1:fix/comments_redirection

Conversation

@sakshamarora1
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread site/cds_rdm/legacy/redirector.py Outdated
"""Redirect legacy comments."""
parent_pid = get_pid_by_legacy_recid(legacy_id)
parent = RDMParent.pid.resolve(parent_pid.pid_value)
if parent.communities.default is None:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This cannot be as we require a community no?

@sakshamarora1 sakshamarora1 force-pushed the fix/comments_redirection branch from c80fa82 to df3a03a Compare April 22, 2026 14:31
@zzacharo zzacharo merged commit eb0d242 into CERNDocumentServer:master Apr 22, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In review 🔍 to To release 🤖 in Sprint Q2 2026 ☀️ Apr 22, 2026
@kpsherva kpsherva moved this from To release 🤖 to Released ✔️ in Sprint Q2 2026 ☀️ Apr 24, 2026
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