[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-2031) Create CMS content which contains a slash '/' fails

Sohil Shah (JIRA) jira-events at lists.jboss.org
Wed Jun 4 11:42:21 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBPORTAL-2031?page=comments#action_12415601 ] 
            
Sohil Shah commented on JBPORTAL-2031:
--------------------------------------

Here is what I think should be the expected functionality before fixing this issue:

1. Create File, Name = '/'  - Should provide a proper error message. This should not be allowed since a FileName should not be '/'. This value is legal for a folder

2. Create File, Name = 'foo/bar.html' fails if there is no folder 'foo'  - Needs recursive creation of resources down the path hierarchy. I kind of remember implementing this in the export functionality. I think same thing should be done for File creation process as well


3. Create Folder, Name = 'foo/bar' fails if there is no folder 'foo'  - Same as point # 2

> Create CMS content which contains a slash '/' fails
> ---------------------------------------------------
>
>                 Key: JBPORTAL-2031
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-2031
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal CMS
>    Affects Versions: 2.6.5 Final
>            Reporter: Martin Putz
>         Assigned To: Sohil Shah
>             Fix For: 2.6.6 Final
>
>
> The creation of CMS content with the following names fails:
> 1. Create File, Name = '/' 
> 2. Create File, Name = 'foo/bar.html' fails if there is no folder 'foo'
> 3. Create Folder, Name = 'foo/bar' fails if there is no folder 'foo'
> Currently, there is only a check whether the FileName is empty.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list