Modify ↓
Opened 4 years ago
Closed 4 years ago
#13997 closed defect (fixed)
Exception in Timeline with tags search terms
Reported by: | Cinc-th | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | FullBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.4 |
Description
The timeline can't be shown when using terms in matching tags input field:
Trac hat einen internen Fehler festgestellt: AttributeError: 'FullBlogTagSystem' object has no attribute 'resource_tags'
Datei "/Users/cinc/projects/venvs/Trac-1.5/lib/python3.8/site-packages/trac/web/main.py", Zeile 609, in dispatch_request dispatcher.dispatch(req) Datei "/Users/cinc/projects/venvs/Trac-1.5/lib/python3.8/site-packages/trac/web/main.py", Zeile 301, in dispatch raise e Datei "/Users/cinc/projects/venvs/Trac-1.5/lib/python3.8/site-packages/trac/web/main.py", Zeile 251, in dispatch self._post_process_request(req, *resp) Datei "/Users/cinc/projects/venvs/Trac-1.5/lib/python3.8/site-packages/trac/web/main.py", Zeile 469, in _post_process_request resp = f.post_process_request(req, *resp) Datei "/Users/cinc/projects/tagsplugin/trunk/tractags/web_ui.py", Zeile 336, in post_process_request tags = tag_system.get_tags(None, resource) Datei "/Users/cinc/projects/tagsplugin/trunk/tractags/api.py", Zeile 330, in get_tags return set(self._get_provider(resource.realm) \
Reason is that FullBlogTagSystem doesn't implement the method resource_tags()
as defined by ITagProvider
.
How to see
- Enter a search term into the matching tags field
- Click update
The exception happens due to some internal processing with the match terms causing the faulty code path (see sources of TagsPlugin).
Attachments (0)
Note: See
TracTickets for help on using
tickets.
In 18204: