Bug 793192 (JBEPP-276)

Summary: Reference Guide
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Scott Mumford <smumford>
Component: DocumentationAssignee: Scott Mumford <smumford>
Status: CLOSED NEXTRELEASE QA Contact: ecs-bugs
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0.GACC: epp-bugs, mposolda
Target Milestone: ---   
Target Release: 5.0.0.GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-276
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-24 14:39:41 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 793081    
Attachments:
Description Flags
Ref_guide_part_I_and_WSRP_verification.txt
none
configuration_files.zip
none
reference-guide-bugs-part2.txt
none
epp_refguide_notes.txt
none
Ref_guide_part_I_and_WSRP_verification2.txt
none
refGuide-chapter11-update.txt
none
EPP5-docs-review(2nd)-Chapter12-PBR none

Description Scott Mumford 2010-03-30 04:12:39 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Complexity: Medium
Date of First Response: 2010-05-11 15:06:14
project_key: JBEPP

Tracker for review feedback/issues for EPP Reference Guide.

Document is available for review here:
http://documentation-stage.bne.redhat.com/docs/en-US/Enterprise_Portal_Platform/5.0/html/Reference_Guide/

This is subject to change and new URL will be posted here.

Comment 2 Scott Mumford 2010-04-08 02:58:16 UTC
QE of this document is being undertaken by Andrerw Ross on:
Monday 26th and Tuesday 27th April

To allow time for editing all feedback on this issue must be received BEFORE Thursday 22rd April

Comment 3 Scott Mumford 2010-04-22 03:13:40 UTC
Doc TODO Notes:

Tags:
        Switch out <sect*> tags for <section> tags for continuity and numbering
	Ensure <title> is in place, remove any <para> inside <example>
	Check sect/chap ids (maybe publican clean_ids on a backup copy to see the changes)

Images:
	Switch out all scalefit="1" attributes to scale="100"
	Ensure all screencaps are RH appropriate.

Entities:
	Ensure correct definitions for PRODUCT_NAME PRODUCT_VERSION and WSRP_VERSION entities
	Ensure the correct use of PRODUCT, VERSION, PRODUCT_NAME and PRODUCT_VERSION entities throughout doc.

SVN
	Branch doc?

Comment 4 Thomas Heute 2010-04-23 19:12:25 UTC
Link: Added: This issue related JBEPP-323


Comment 5 Scott Mumford 2010-04-28 22:22:15 UTC
Thanks for your awesome work Thomas. Much appreciated.

Comment 6 Prabhat Jha 2010-05-11 19:06:14 UTC
I was looking at ref guide http://downtown.englab.bne.redhat.com/drafts/JBoss_Enterprise_Portal_Platform/5.0_Beta/Enterprise_Portal_Platform_Installation_Guide/html-single/#id2969831 dated May 7, in create database command, it mentions gatein-jcr which does not work with mysql. A "-" is not allowed in name. However, resulting list of database is correct. 

Comment 7 Scott Mumford 2010-05-17 06:09:47 UTC
Currently triaging sections in Section 17 based on content quality. Will email both a pre-triage and post-triage pdf for review.

Not committing triage changes to svn until feedback is received.

Comment 9 Ján Jamrich 2010-05-17 09:53:03 UTC
Section "11.2.2. JavaServer Pages Portlet Example":
1.) I don't know nothing about JSPHeloUser, seems there is nothing like this bundled with EPP5. (And I have no idea where to look for them)
2.) part "Compiling the example"... there is not true that there need only copy *.war file into deploy directory. Since GateIn is used instead of JBoss Portal, there is no 'autodeploy/autoinstall' feature, so if someone deploy his app to $JBOSS_HOME/server/${configuration}/deploy, no link automatically appear in Portal menu. (As it was in JBoss Portal). There is need to add steps (or link to this steps) for installation examples deployed in JBoss Server deploy directory.

Comment 10 Michal Vanco 2010-05-17 15:46:59 UTC
Attaching notes from Ref. Guide verification.

I verified doc from beginning to the end of PART I (in pdf: pages 1-63) + WSRP (chapter 15, in pdf: pages 133-152)

Everything is mentioned in notes.
I'm also attaching 4 config files which are shown in doc and are not correct (it is also described in notes)

Comment 11 Michal Vanco 2010-05-17 15:46:59 UTC
Attachment: Added: Ref_guide_part_I_and_WSRP_verification.txt
Attachment: Added: configuration_files.zip


Comment 12 mposolda 2010-05-17 16:10:54 UTC
In attachement are notes for reference guide - Part 2 (Chapter 11, Chapter 13, Chapter 14).

So till now, We went through almost whole reference guide and remaining chapters are only:

Chapter 12 - Building JSF Portlet
Chapter 16 - Foundations
Chapter 17 - eXoJCR

We will provide the rest as soon as possible. But I have question: Is Part 3 finished and ready for our review or you are still working on it? Because today Viliam noticed really big number of typos and typographic inconsistencies, especially in chapter 17.


Comment 13 mposolda 2010-05-17 16:10:54 UTC
Attachment: Added: reference-guide-bugs-part2.txt


Comment 14 Ján Jamrich 2010-05-17 17:01:29 UTC
Section "11.2.2.4. JSF example using the JBoss Portlet Bridge"
1.) PortletBridge examples are places in "portletbridge/examples" folder instead of "examples" folder.
2.) No example "JSFHelloUser" is bundled with EPP5 (I don't know nothing about this example). Do we really have this example at all?

Comment 15 Ján Jamrich 2010-05-17 17:04:02 UTC
Section: "12.2.5. Video Tutorials"
There is a bad link labeled: "Episode 5: GateIn JMX Metrics and Dashboard Demo". This link should point to "http://www.vimeo.com/8752541" instead of "http://www.vimeo.com/7255033" which is link for previous episode (No. 4)

Comment 17 Misty Stanley-Jones 2010-05-18 06:11:24 UTC
I tackled most of the first list of modifications.

Comment 18 Viliam Rockai 2010-05-18 14:33:01 UTC
my notes to part III, reference guide

Comment 19 Viliam Rockai 2010-05-18 14:33:01 UTC
Attachment: Added: epp_refguide_notes.txt


Comment 20 Scott Mumford 2010-05-18 20:43:21 UTC
Committed revision 3113.

- Commit includes minor section triage.
- Section changes to re-format 4- and 5-level deep sectioning (section 17)  
- Edits as per Michal Vanco's verification attachment.

Luc, Thomas - If these changes interfere with your review of section 17, revert to r3100 as per svn log (although this will undo some QE verfication edits).

Comment 21 Scott Mumford 2010-05-19 12:04:24 UTC
I'm recommending triage of sections 17.12 (Transactions), 17.13 (TransactionManagerLookup) and possibly 17.14 (eXo JCR Statistics) due to inadequate content.
Does anyone have any comments or objections? 

Comment 22 Scott Mumford 2010-05-20 08:43:52 UTC
The latest version of the Reference Guide has been committed. Find it at the Hudson URL above.

This revision completes the first pass edits and included as much of the QE feedback as ECS is able to complete. Outstanding issues (from various feedback sources) are listed below:
________________________________________________________________________________________
*Apply changes from Chris's commit no. 31061 3107!!!! 
(Not sure what this means - SM)

*7.2.5 Debugging resources??? 
(Not sure what this means - SM)

*this discuss about eXo JCR standalone configuration. is it the subject of EPP5 reference guide?
(I can comment refernces to this out if nobody deems it necessary -SM)

*Villiam mentioned the variance in file paths are formatted. I found the following examples:

02portal.war/WEB-INF/conf/portal/portal/classic/portal.xml

WEB-INF/gatein-resources.xml

01eXoResources.war/WEB-INF/gatein-resources.xml

$JBOSS_HOME/bin/run.sh

eXoGadgets.war/WEB-INF/

web.war/WEB-INF/classes/locale/portlet/portal

WEB-INF/classes/locale/portlet/gadget/GadgetPortlet.

/web/skin/portal/webui/component/UIFooterPortlet/DefaultStylesheet-rt.css 

/GateInResources/skin/DefaultSkin/webui/component/UITabSystem/UITabs/background/NormalTabStyle-rt.gif

/portletbridge/examples/

We definitely need a consistent style. We just need someone to choose one. I'm in favour of starting them all with /$PORTAL_HOME/blah/blah/
_________________________________________________________________________________________

Anything I've missed?

Major additions and changes to the document are marked with comments in the XML code for reference.


Comment 23 Thomas Heute 2010-05-20 09:03:16 UTC
*Apply changes from Chris's commit no. 3106 3107!!!! 
(Not sure what this means - SM) 
I've done it, some were already done. What it meant it that Chris fixed in the project SVN with revision 3106 and 3107 and those changes needed to be applied on the product doc.

Comment 25 mposolda 2010-05-20 09:44:14 UTC
Hi Scott,

I am not sure if you missed our comments to Part II (chapter 11 - chapter 15) or you are planning to work on this. My comments are in attachement ( reference-guide-bugs-part2.txt ) and there are some comments from Jan Jamrich in this Jira, which are related to chapter 12 and chapter 11 (please ignore Jan's notes about missing examples in chapter 11. He didn't know that examples for simplesthelloworld, jsphelloworld, jsfhelloworld and idmhelloworld are packed in docs.zip, which is mentioned in my attachement reference-guide-bugs-part2.txt ).

Comment 27 Scott Mumford 2010-05-21 07:22:10 UTC
A new version of the Reference Guide has been committed which incorporates many QE changes and a new OrganizationServiceClassDiagram.png image.

Remaining issues (AFAIK):

________________From Brno QE:_______________
Debugging resources???
(still not sure what this means - SM)

$base:directory - not uniform start of the path, should be changed to be uniform in the whole document
(Still working on this. Many files are in different locations; path shortening/homogenizing will be difficult. - SM)

Repository Service Configuration is describing elements and attributes used in the example configuration files. the document is not styled, tags are not distinguished from attributes and so on
(Marked as DOC TODO for next release - SM)

_______________From BNE QE:____________
Foundations.xml :
Only officially documented services should be accessed this way, and used according to documentation, as most of the services are an implementation detail of Exo, and subject to change without notice.
(Unsure why anross drew attention to this warning box. Will confirm with him asap- SM)

_________________General___________________
* Which other contributors should be named in the Ref Guide Author Group?

* Gadgets sections 13.1.1 to 13.1.7  seem very incomplete.


Comment 28 mposolda 2010-05-21 07:43:12 UTC
I am still seeing that my notes for Chapter 14 (Authentication and identity) from attachement reference-guide-bugs-part2.txt are not covered in ref guide. I went through http://downtown.englab.bne.redhat.com/drafts/JBoss_Enterprise_Portal_Platform/5.0_Beta/Enterprise_Portal_Platform_Reference_Guide/html-single/ and through source codes after your last commit (rev 3163)

Comment 29 Michal Vanco 2010-05-21 08:00:20 UTC
Second verification notes for edited parts of Ref. Guide. 
I stated my previous note about debugging resources (I did typo in section number, sorry).
There are formatting problems with config files at 6.2, 6.4.

See attachment for more details.

Comment 30 Michal Vanco 2010-05-21 08:00:20 UTC
Attachment: Added: Ref_guide_part_I_and_WSRP_verification2.txt


Comment 31 mposolda 2010-05-21 09:31:53 UTC
I did a review of chapter 11 (Portlet primer) again after yesterday update. My comments attached in refGuide-chapter11-update.txt .

Comment 32 mposolda 2010-05-21 09:31:53 UTC
Attachment: Added: refGuide-chapter11-update.txt


Comment 33 Viliam Rockai 2010-05-21 09:45:56 UTC
just few comments to the actual pdf version:
p158
it is said, that "K" or "KB" are the possible number formats but in examples i can see "Kbytes"
the definition is:
K or KB for kiloBytes (no need to capitalize B when the whole word "byte" is typed)
the text is:
200k or 200 KBytes
but maybe the intention was that it should be "200k for 200 KBytes" or "200k or 200 KB"

p169
reference for apache dbcp configuration has it's number in upper index (1), but i can't see the reference under the line in the bottom of the page

p179
text overflowing table - multiple times in that table

p213
missing table headers

Comment 34 Ján Jamrich 2010-05-21 14:31:00 UTC
During 2nd review of Chapter 12 I found another (small) issue with XML code snippet. See attachment

Comment 35 Ján Jamrich 2010-05-21 14:31:00 UTC
Attachment: Added: EPP5-docs-review(2nd)-Chapter12-PBR


Comment 36 mposolda 2010-05-21 14:58:41 UTC
Scott,

I just noticed the mistake in my report to chapter11 ( refGuide-chapter11-update.txt ) which has incorrect location of portlets in docs package. Correct locations of portlet examples:
In src package: /jboss-epp-5.0-src/portal/examples/portlets/
In doc package: /jboss-epp-5.0-docs/epp-doc/examples/portlets/

Comment 37 Scott Mumford 2010-05-24 05:28:24 UTC
Latest Reference Guide edits committed. Solved XML layout problem in included config files. Adjusted column widths in Section 17.5 to correct overflow issues. Various minor edits.

Outstanding issues:

Section 11.2.2.3
- Sentence "My name is GateIn Portal. What's yours?" In example is used: "My name is JBoss Portal". But this is not issue in documentation, because "My name is JBoss Portal" should not be used
(SM - Unable to get the example portlet running so cannot update screenshot if portlet has been updated to correct wording.

Section 7.5.2
Debugging resources - magic locale??? (I have never seen this before and I don't know if it's even possible, it is great and there should be better description how to do it)
(SM - Further information unavailable at the moment. Section commented out and marked for next release)

Section 14.3.1.
Configuration of org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl - This service has one more option "useJTA" which is not mentioned in reference guide.
(SM - Added to useJTA to relevant list. No information regarding option included here, so content inferred from context referencing cacheconfig options)


Comment 38 mposolda 2010-05-24 09:09:57 UTC
Scott,

Many thanks for the updates. I just checked and I founded only minor issues in your last update. Here is the list:

11.2.1 -- typo in 3rd sentence (path to documentation package): "boss-epp-5.0-docs/epp-doc/examples/portlets" --- Typo in first word. It should be "jboss-epp-5.0-docs/epp-doc/examples/portlets"

11.2.1.2 -- Package name is not updated in the diagram (Here is still "org/gatein/portal/examples/portlets" but it should be "org/jboss/portal/portlet/samples" )

11.2.2 -- Similar typo as in 11.2.1 -- "boss-epp-5.0-docs/epp-doc/examples/portlets"

11.2.2.1 and 11.2.2.2 -- package is not updated in diagram, java class and in portlet.xml. Reference guide references to package "org/gatein/portal/examples/portlets" but correct package for example is "org/jboss/portal/portlet/samples". 

14.3.1 Option "useJTA" - This is boolean option, which determines whether JTA (Java Transaction API) will be used in Picketlink IDM.


Comment 39 mposolda 2010-05-24 12:39:20 UTC
Thanks Scott!

Comment 40 mposolda 2010-05-24 14:39:41 UTC
This JIRA resolved and remaining reference guide issues will be reported in https://jira.jboss.org/browse/JBEPP-370, which is ref. guide JIRA for EPP 5.0.1