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(hosts) : retrieve live version if a host has live and working versions #30358

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dsolistorres
Copy link
Contributor

#Closes #28362

Proposed Changes

  • For the sites portlet, if a site has live and working versions, the live version is shown.
  • When resolving a site by name, id or alias, the live version of the site is retrieved for front-end users.

Checklist

  • Tests

@semgrep-code-dotcms-test
Copy link

Semgrep found 11 CUSTOM_INJECTION-2 findings:

The method identified is susceptible to injection. The input should be validated and properly
escaped.

Ignore this finding from CUSTOM_INJECTION-2.

@dsolistorres dsolistorres force-pushed the issue-28362-save-site-shouldnt-deactivate-site branch from fbbfa24 to 9eeaf52 Compare October 16, 2024 20:16
@dsolistorres dsolistorres force-pushed the issue-28362-save-site-shouldnt-deactivate-site branch from 9eeaf52 to d4432b0 Compare October 18, 2024 19:32
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.

Saving a site instead of hitting Save/Activate deactivates the site entirely
1 participant