You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2009/05/29 20:36:45 UTC

[jira] Updated: (JSPWIKI-564) Comment Editor populated by Preview from another wikipage

     [ https://issues.apache.org/jira/browse/JSPWIKI-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-564:
---------------------------------

    Affects Version/s: 3.0
             Assignee: Harry Metske

> Comment Editor populated by Preview from another wikipage
> ---------------------------------------------------------
>
>                 Key: JSPWIKI-564
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-564
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.2, 3.0
>         Environment: JSPWiki
>            Reporter: Jeff Allen
>            Assignee: Harry Metske
>
> When a user Edits a page and then clicks Preview, the contents of the previewed page are saved in the session so that whenever the user adds a comment, the editor is auto-filled with the contents of the preview.
> Steps to reproduce:
> 1. Navigate to any page that allows the user to Edit (ie. http://www.jspwiki.org/wiki/IrcChannel)
> 2. Click Edit
> 3. Click Preview
> 4. Click Save, Cancel, or simply navigate to another page (ie. http://www.jspwiki.org/wiki/JSPWikiMailingList)
> 5. Click More>Add Comment
> The edit box will be filled with the Previewed text for the wiki page from step 1.
> The "Keep Editing" button clears the saved text.
> in Edit.jsp if keep editing is clicked (<input type="submit" title="Continue to edit the current page [ e ]" accesskey="e" value="Keep editing" name="edit"/>)  EditorManager.REQ_EDITEDTEXT is removed from the session:
> session.removeAttribute( EditorManager.REQ_EDITEDTEXT );
> Also is it desired behavior to have the Comment edit field autofilled with anything? If not can't we just clear the EditorManager.REQ_EDITEDTEXT at the beginning of Comment.jsp?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.