After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626508 - xrefitem doesn't handle hyphen in key
xrefitem doesn't handle hyphen in key
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: doxywizard
1.7.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-08-10 08:47 UTC by sbutler
Modified: 2010-10-09 08:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sbutler 2010-08-10 08:47:34 UTC
ALIAS set to  "test{1}=@xrefitem test\1 \"Test notes \1\"  \"Test notes \1\" \n" 

Have a page block containing two tests

/**
@page changelog_sb Change Log SJB.

@test{SBUR-87YKDP}
- stuff here
- more stuff

@test{SBUR-883CV7}
- and the next test
- and more

@note
- comments.
*/

If the first argument to the @test has the hyphen in the text the keys for both tests get treated the same, so although the alias should make the xrefitem keys, testSBUR-87YKDP and testSBUR-883CV7 only one entry gets made; the first one.  If the source is changed to  @test{SBUR87YKDP} and @test{SBUR883CV7} the documentation works correctly.  

I assume that the - in the key is causing SBUR-87YKDP and SBUR-883CV7 to be treated the same.
Comment 1 Dimitri van Heesch 2010-08-14 18:42:02 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2010-10-09 08:19:38 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.2. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.