Modify ↓
      
        Opened 15 years ago
Closed 15 years ago
#7216 closed defect (fixed)
Activity charts don't display
| Reported by: | Owned by: | Daren Thomas | |
|---|---|---|---|
| Priority: | normal | Component: | YumlPreprocessorMacro | 
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.11 | 
Description
Activity charts don't display. They are generated a URL with superfluous comma in the end. Attached is a patch fixing that behavior.
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
Confirmed. The bug manifested itself in all the charts! Only yuml.me handled the trailing comma in the other two charts a little more gracefully. I have updated the file with the proposed patch and tested it with the examples on the website: It works now!
Note: See
        TracTickets for help on using
        tickets.
    



Meh, can't seem to be able to attach the patch, getting "500 Internal Server Error (Submission rejected as potential spam (Maximum number of external links per post exceeded))"
Oh well, just replace every content.replace('\n', ', ') with content.strip().replace('\n', ', ')