Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2151

WYSIWYG not working in preview with files with no content.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.6.6 Final
    • Fix Version/s: 2.7.1 Final, 2.6.8 Final
    • Component/s: Portal CMS
    • Labels:
      None
    • Environment:

      fedora 9, laptop t61, java version "1.5.0_16", firefox 3.0.1

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  soshah Sohil Shah
                  Reporter:
                  vrockai Viliam Rockai
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: