Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#5713 closed defect (wontfix)

Duplicate documentation entry on WikiMacros page

Reported by: Ryan J Ollos Owned by: John Hampton
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)

EmailProcessorMacroDocumentationBug.png (38.4 KB) - added by Ryan J Ollos 15 years ago.
Screen capture showing duplicate documentation entry
EmailProcessorMacroDocumentationBug.2.png (38.4 KB) - added by Ryan J Ollos 15 years ago.
Screen capture showing duplicate documentation entry

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by Ryan J Ollos

Screen capture showing duplicate documentation entry

Changed 15 years ago by Ryan J Ollos

Screen capture showing duplicate documentation entry

comment:1 Changed 15 years ago by Ryan J Ollos

My internet connection was interrupted and I accidentally uploaded the image twice. Here it is:

Screen capture showing duplicate documentation entry

comment:2 Changed 15 years ago by Ryan J Ollos

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 15 years ago by John Hampton

Resolution: wontfix
Status: newclosed

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 15 years ago by Ryan J Ollos

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 15 years ago by Ryan J Ollos

I opened a ticket for this on t.e.o.: ticket:8782.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.