Bug 794448 (JBEPP-1488)

Summary: Add a warning when trying to create extensions using pages with bad name length
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: William Antônio <wsiqueir>
Component: PortalAssignee: Peter Palaga <ppalaga>
Status: ASSIGNED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdawidow, epp-bugs, jpallich, theute
Target Milestone: ---   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1488
Whiteboard: Triage 6_3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description William Antônio 2012-01-24 17:45:32 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A00000090bud
project_key: JBEPP

Basically we would like to somehow warn when creating/deploying a custom container with an invalid site name.

When we try to create pages in JBoss EPP, we are warned that the name length must be between 3 and 30 characters. When creating our own extension (like described in documentation [1]), we need to inform the default site for that extension. If we inform a site with an invalid name, we will notice it only when we try to access our new container because the following error will be logged:

Error [WebAppController] Could not associate the request path={new site path} with an handler

So we kindly suggest you to add a WARN or an ERROR in deploying time of my customer template when the site name length is out of range.

Let me know if more information is needed.

Thanks.

[1] http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.2/html/Developer_Guide/sid-8094155.html