Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

EmailProcessorMacroDocumentationBug.png (38.4 KB) - added by rjollos 5 years ago.
Screen capture showing duplicate documentation entry
EmailProcessorMacroDocumentationBug.2.png (38.4 KB) - added by rjollos 5 years ago.
Screen capture showing duplicate documentation entry

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by rjollos

Screen capture showing duplicate documentation entry

Changed 5 years ago by rjollos

Screen capture showing duplicate documentation entry

comment:1 Changed 5 years ago by rjollos

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

Screen capture showing duplicate documentation entry

comment:2 Changed 5 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 5 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 5 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 5 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed The owner will remain pacopablo.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.