Bug 794027 (JBEPP-1096)

Summary: "Visible" and "Publication date" is effective only for Navigation, not for Page
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: DocumentationAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact: ecs-bugs
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs, smumford, tkobayas
Target Milestone: ---   
Target Release: 5.2.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1096
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-29 10:07:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Toshiya Kobayashi 2011-08-19 14:46:54 UTC
Affects: Documentation (Ref Guide, User Guide, etc.), Release Notes
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007pmle&sfdc.override=1
project_key: JBEPP

- go http://localhost:8080/portal
- login as root
- click [Site] in menu bar
- click [Edit Navigation]
- right click "SiteMap" and select [Edit this Node]
- uncheck "Visible" (it would be the same if you check "Visible" and set "Publication date" to the future)
- click [Save] in "ADD/EDIT PAGE NODE"
- click [Save] in "Namvigation Management"

You will see "SiteMap" disappear in navigation bar. But you can still see the page by direct access http://localhost:8080/portal/private/classic/sitemap
So "Visible" and "Publication date" is effective only for Navigation, not for Page itself.

It doesn't match what the documentation says:

http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.1/html-single/User_Guide/index.html

==============
5.3.1. Add a new node
\---
Visible
    This check box allow to hide (and show) the page and its node at the navigation bar, the page navigation and the site map

5.4.1.1. Adding a new Page using Page Creation Wizard
\---
Visible
    This checkbox toggles the global visibility of this page.
    If checked the page or the page node appears on on the navigation bar, the page navigation and the site map. If "visible" is checked the visibility depends on the "publication date & time" attribute.
    If unchecked the page is not shown under any circumstances, even if the publication period valid.
===============

Comment 1 Toshiya Kobayashi 2011-08-19 15:05:29 UTC
Link: Added: This issue incorporates GTNPORTAL-2033


Comment 2 Scott Mumford 2011-08-25 04:17:06 UTC
Removed incorrect assertion in doc and noted that the page will still be available via URL.

Comment 3 Toshiya Kobayashi 2011-09-06 06:21:30 UTC
Hi Scott,

The note -- "Non-visible Pages and Security" is also applicable to 'Publication date &time'. Say, if you set Publication Date to the future, the page is not shown in the site map or navigation bar until the publication date but is accessible using a direct URL.

So please add some mention in the note like:

====
The Visible checkbox should not be used as a security measure, as non-visible pages will still be accessible using a direct URL, such as http://localhost:8080/portal/private/classic/pagename. 
The same is applied to Publication date & time. Even if the page is configure to publish in the future, the page will still be accessible using a direct URL.
====

Thanks,

Comment 4 Scott Mumford 2011-09-12 06:23:16 UTC
An admonition has been added to the User Guide to warn that date-controlled pages are always available via direct URL.
I'll post a link here once the new 5.2 version of the document is added to the Docs Stage.

Comment 5 Jared MORGAN 2011-11-16 03:49:40 UTC
Set Release Notes Not Yet Documented because this issue is a Customer-initiated issue.
When the issue is fixed, all issues with Helpdesk ticket references *must* have a release note provided, and
included in the Release Notes document.

Comment 6 Jared MORGAN 2011-11-16 03:49:40 UTC
Release Notes Docs Status: Added: Not Yet Documented


Comment 7 Jared MORGAN 2011-11-16 04:31:03 UTC
Affects: Added: Documentation (Ref Guide, User Guide, etc.)


Comment 9 Jared MORGAN 2011-11-28 02:15:50 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Not Required
Affects: Removed: Documentation (Ref Guide, User Guide, etc.) Added: Documentation (Ref Guide, User Guide, etc.),Release Notes


Comment 10 Toshiya Kobayashi 2011-11-28 05:17:03 UTC
Link: Added: This issue is related to JBEPP-1403


Comment 12 Thomas Heute 2011-11-29 10:07:29 UTC
I mark it resolved since Scott said the doc has been updated