You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/02/15 12:55:27 UTC

[jira] Created: (INFRA-2493) Wrong attachment referenced in comments

Wrong attachment referenced in comments
---------------------------------------

                 Key: INFRA-2493
                 URL: https://issues.apache.org/jira/browse/INFRA-2493
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Bugzilla
         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
            Reporter: Sebb


[This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.

e.g. Comment 6 references:

https://issues.apache.org/bugzilla/attachment.cgi?id=1
https://issues.apache.org/bugzilla/attachment.cgi?id=2

Comment 7 references the correct attachment (24985), as well as:
https://issues.apache.org/bugzilla/attachment.cgi?id=1

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


[jira] Updated: (INFRA-2493) Wrong attachment referenced in comments

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

Mark Thomas updated INFRA-2493:
-------------------------------

    Issue Type: Improvement  (was: Bug)

Maybe... although I'm far from convinced it is worth the hassle - particularly since it adds a burden on every future upgrade.

If someone feels like writing a patch then I think I'd prefer not creating the link if:
n < 10
AND
n is not a valid attachment id for the current bug

Even then, the invasiveness of the patch would be a large factor in whether or not it was applied.

> Wrong attachment referenced in comments
> ---------------------------------------
>
>                 Key: INFRA-2493
>                 URL: https://issues.apache.org/jira/browse/INFRA-2493
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Bugzilla
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
>            Reporter: Sebb
>
> [This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.
> e.g. Comment 6 references:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1
> https://issues.apache.org/bugzilla/attachment.cgi?id=2
> Comment 7 references the correct attachment (24985), as well as:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1

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


[jira] Commented: (INFRA-2493) Wrong attachment referenced in comments

Posted by "Mark Thomas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834020#action_12834020 ] 

Mark Thomas commented on INFRA-2493:
------------------------------------

That is standard bugzilla functionality to add auto links because the text "Attachment nnn" appears in the comment text. It is the same feature that auto links if you add "bug nnnn" in the comment.

The custom code we added does the same for revision nnnn and rnnnnn to link to subversion.

I'm not sure there is much we can do about this without breaking a useful feature.

> Wrong attachment referenced in comments
> ---------------------------------------
>
>                 Key: INFRA-2493
>                 URL: https://issues.apache.org/jira/browse/INFRA-2493
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Bugzilla
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
>            Reporter: Sebb
>
> [This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.
> e.g. Comment 6 references:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1
> https://issues.apache.org/bugzilla/attachment.cgi?id=2
> Comment 7 references the correct attachment (24985), as well as:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1

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


[jira] Commented: (INFRA-2493) Wrong attachment referenced in comments

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834035#action_12834035 ] 

Sebb commented on INFRA-2493:
-----------------------------

Actually, I meant that the vanilla Bugzilla should behave this way.

Agreed that it would be a pain to fix locally.

> Wrong attachment referenced in comments
> ---------------------------------------
>
>                 Key: INFRA-2493
>                 URL: https://issues.apache.org/jira/browse/INFRA-2493
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Bugzilla
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
>            Reporter: Sebb
>
> [This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.
> e.g. Comment 6 references:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1
> https://issues.apache.org/bugzilla/attachment.cgi?id=2
> Comment 7 references the correct attachment (24985), as well as:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1

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


[jira] Resolved: (INFRA-2493) Wrong attachment referenced in comments

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

Sebb resolved INFRA-2493.
-------------------------

    Resolution: Fixed

Not worth fixing locally

> Wrong attachment referenced in comments
> ---------------------------------------
>
>                 Key: INFRA-2493
>                 URL: https://issues.apache.org/jira/browse/INFRA-2493
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Bugzilla
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
>            Reporter: Sebb
>
> [This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.
> e.g. Comment 6 references:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1
> https://issues.apache.org/bugzilla/attachment.cgi?id=2
> Comment 7 references the correct attachment (24985), as well as:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1

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


[jira] Commented: (INFRA-2493) Wrong attachment referenced in comments

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834026#action_12834026 ] 

Sebb commented on INFRA-2493:
-----------------------------

OK, thanks.

Seems to me that it would make more sense for the attachment number to be relative to the attachments for the current Bugzilla issue, which is what the OP was trying to do.
Maybe Bugzilla could do this instead if the number was sufficiently small ...

> Wrong attachment referenced in comments
> ---------------------------------------
>
>                 Key: INFRA-2493
>                 URL: https://issues.apache.org/jira/browse/INFRA-2493
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Bugzilla
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=48650
>            Reporter: Sebb
>
> [This may be a Bugzilla bug, or it may be due to the local modifications, which is why I am posting here first.]
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48650 has comments 6,7 & 8 which reference attachments, however the attachment references are for completely different bugs.
> e.g. Comment 6 references:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1
> https://issues.apache.org/bugzilla/attachment.cgi?id=2
> Comment 7 references the correct attachment (24985), as well as:
> https://issues.apache.org/bugzilla/attachment.cgi?id=1

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