#5713 closed defect (wontfix)
Duplicate documentation entry on WikiMacros page
| Reported by: | rjollos | Owned by: | pacopablo |
|---|---|---|---|
| Priority: | normal | Component: | EmailProcessorMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
With the EmailProcessorMacro installed, I see two entries listed on the WikiMacros page of the documentation (/wiki/WikiMacros). One has a section heading [email] and the other has a section heading [Email]. See attached screen capture.
Attachments (2)
Change History (7)
Changed 4 years ago by rjollos
comment:1 Changed 4 years ago by rjollos
comment:2 Changed 4 years ago by rjollos
I believe this issue is due to allowing upper and lower case for the first letter of the class name:
def get_macros(self):
"""Yield the name of the macro based on the class name."""
yield 'email'
yield 'Email'
comment:3 Changed 4 years ago by pacopablo
- Resolution set to wontfix
- Status changed from new to closed
This is indeed due to allowing for #!email and #!Email. While unfortunate, it's not really a bug in the email processor macro. It's just simply due to how the MacroList macro generates the docs.
comment:4 Changed 4 years ago by rjollos
Thanks for the follow-up. I'm going to look more closely at the Trac core to see if there is something we can do to avoid this situation.
comment:5 Changed 4 years ago by rjollos
I opened a ticket for this on t.e.o.: ticket:8782.



Screen capture showing duplicate documentation entry