Modify ↓
#9555 closed defect (fixed)
System crash
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Component: | DefaultCcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
- Add Component - existed component name
Adding component whose name already existed will make system crash
- Remove selected component - no component selected
When there's no component selected then click "Remove selected component" will make system >crash Fix: We need to check comp type Traceback:
Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 378, in send_error 'text/html') File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 745, in render_template stream |= self._filter_stream(req, method, filename, stream, data) File "/usr/lib/pymodules/python2.6/genshi/core.py", line 132, in __or__ return Stream(_ensure(function(self)), serializer=self.serializer) File "/usr/lib/python2.6/dist-packages/trac/web/chrome.py", line 848, in inner data) File "/usr/local/lib/python2.6/dist-packages/Default_CC-0.1_r5293-py2.6.egg/defaultcc/admin.py", line 116, in filter_stream for comp in components: TypeError: 'NoneType' object is not iterable
Attachments (0)
Change History (5)
comment:1 Changed 12 years ago by
Owner: | changed from jeangui to Ryan J Ollos |
---|
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
(In [11734]) Fixes #9555, #10156:
__init__.py
file, which could result in a failure of the plugin to load.