[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2151) WYSIWYG not working in preview with files with no content.

Viliam Rockai (JIRA) jira-events at lists.jboss.org
Fri Sep 5 11:19:38 EDT 2008


WYSIWYG not working in preview with files with no content.
----------------------------------------------------------

                 Key: JBPORTAL-2151
                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2151
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal CMS
    Affects Versions: 2.6.6 Final
         Environment: fedora 9, laptop t61, java version "1.5.0_16", firefox 3.0.1 
            Reporter: Viliam Rockai
            Assignee: Sohil Shah
            Priority: Minor


after a creation of file with no content (nothing typed into WYSIWYG Editor) i can click on the "preview" button. it seems that clicking this button has different functionality when the file has content, or is blank. on a blank file "preview" gives us ONLY the list of files in directory (which i guess is not correct functionality) but if the file has any text written in it, the preview opens the "WYSIWYG Editor" where it is able to see the content of file and change it AND the list of files in directory .  user who didn't fill the content of their files are now unable to do it with preview button. is it correct?

step:
login as admin
click on the admin link
click on cms tab
select action -> create file
choose any filename, description, title and language, but don't type anything into the WYSIWYG editor
click "create"
click on the "preview" link

as a resultyou cannot see the WYSIWYG editor and you cannot add content this way.
same steps with typing some content into the WYSIWYG ends with showing up the WYSIWYG editor.

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

        



More information about the jboss-jira mailing list