-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Landing Page preview not available unless user is logged in #14766
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
Landing Page preview not available unless user is logged in #14766
Conversation
MAUT-5511 - Landing Page preview not available unless user is logged in
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 7.x #14766 +/- ##
=========================================
Coverage 65.03% 65.04%
- Complexity 34843 34851 +8
=========================================
Files 2290 2290
Lines 103917 103929 +12
=========================================
+ Hits 67586 67601 +15
+ Misses 36331 36328 -3
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this pr but got lost at step 6 @dadarya0 . But here is a screenshot of what I got when I pasted the preview URL in an incognito browser.
if public preview mode is enabled (toggle is green) then it will display page content otherwise will show error. @imaabasiee please check public preview is enabled or disabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions for more modern, typed code
app/bundles/PageBundle/Tests/Controller/PreviewFunctionalTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app/bundles/PageBundle/Tests/Controller/PreviewFunctionalTest.php
Outdated
Show resolved
Hide resolved
app/bundles/PageBundle/Tests/Controller/PreviewFunctionalTest.php
Outdated
Show resolved
Hide resolved
app/bundles/PageBundle/Tests/Controller/PreviewFunctionalTest.php
Outdated
Show resolved
Hide resolved
app/bundles/PageBundle/Tests/Controller/PreviewFunctionalTest.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good. Thanks!
MAUT-5511 - Landing Page preview not available unless user is logged in
Description
The users are not able to preview the landing pages unless they have user accounts.
📋 Steps to test this PR: