You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Bruce Wen (Created) (JIRA)" <ji...@apache.org> on 2012/04/05 08:49:58 UTC

[jira] [Created] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Return to original page attachments list after deleting one attachment
----------------------------------------------------------------------

                 Key: JSPWIKI-725
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
             Project: JSPWiki
          Issue Type: Improvement
          Components: Documentation & website
    Affects Versions: 2.8.4
         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
            Reporter: Bruce Wen


Reproduce Steps:
1. Upload one attachment to some page
2. Delete the attachment by Administrator account

Expected Result:
Page referred to the original page Attach tab

Actual Result:
It says that the page named by the attachment does not exist, why don't you go and create it?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-725:
---------------------------------

    Fix Version/s: 2.9
                   2.8.5
    
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251742#comment-13251742 ] 

Harry Metske commented on JSPWIKI-725:
--------------------------------------

yes of course, you are right.
So you prefer going back to the view tab instead of the info tab?

regards,
Harry
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Bruce Wen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251245#comment-13251245 ] 

Bruce Wen commented on JSPWIKI-725:
-----------------------------------

Right, with the attached patch, the page really go back to the Info tab. It can also go back to View tab if change WikiContext.INFO to WikiContext.VIEW. However, it cannot go back to Attach tab with similar way.
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Bruce Wen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Wen updated JSPWIKI-725:
------------------------------

    Description: 
Reproduce Steps:
1. Upload one attachment to some page
2. Delete the attachment by Administrator account

Expected Result:
Page referred to the original page Attach tab

Actual Result:
It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

  was:
Reproduce Steps:
1. Upload one attachment to some page
2. Delete the attachment by Administrator account

Expected Result:
Page referred to the original page Attach tab

Actual Result:
It says that the page named by the attachment does not exist, why don't you go and create it?

    
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>              Labels: attachments, delete
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Florian Holeczek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Holeczek closed JSPWIKI-725.
------------------------------------


Closing this, since 2.9 has been released
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-725:
---------------------------------

    Attachment: JSPWIKI-725.patch

Suggesting the attached patch for Delete.jsp...
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>              Labels: attachments, delete
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-725:
---------------------------------

    Priority: Minor  (was: Major)
    
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske resolved JSPWIKI-725.
----------------------------------

    Resolution: Fixed

Fixed in 2.8.5-svn-12 and 2.9.0-svn-8.

We redirect to the INFO tab, feel free to re-open and attach a patch for redirecting to the attach tab.
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Bruce Wen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254068#comment-13254068 ] 

Bruce Wen commented on JSPWIKI-725:
-----------------------------------

I prefer going back to Attach tab.
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>            Assignee: Harry Metske
>            Priority: Minor
>              Labels: attachments, delete
>             Fix For: 2.8.5, 2.9
>
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Bruce Wen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249763#comment-13249763 ] 

Bruce Wen commented on JSPWIKI-725:
-----------------------------------

With the update, the page goes back to View tab but not Attach tab. I tried, it seems it's impossible to make it remain on Attach tab, is it right?
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>              Labels: attachments, delete
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (JSPWIKI-725) Return to original page attachments list after deleting one attachment

Posted by "Harry Metske (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249794#comment-13249794 ] 

Harry Metske commented on JSPWIKI-725:
--------------------------------------

Hmmm, in my situation, I go back to the Info Tab... 
I don't know how or why... 
                
> Return to original page attachments list after deleting one attachment
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-725
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-725
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Documentation & website
>    Affects Versions: 2.8.4
>         Environment: Windows 2003 R2, Tomcat 6.0.20, Mozilla Firefox 11.0
>            Reporter: Bruce Wen
>              Labels: attachments, delete
>         Attachments: JSPWIKI-725.patch
>
>
> Reproduce Steps:
> 1. Upload one attachment to some page
> 2. Delete the attachment by Administrator account
> Expected Result:
> Page referred to the original page Attach tab
> Actual Result:
> It says that the page named by the format "PageNameAttachmentName" does not exist, why don't you go and create it? For example, if you delete attachment "2012.png" from page "Wiki Center", the page will be referred to page "Wiki Center2012.png" and in View tab, it says "This page does not exist. Why don't you go and create it?".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira