Modify ↓
#9555 closed defect (fixed)
System crash
| Reported by: | nike-17@… | Owned by: | rjollos |
|---|---|---|---|
| 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 11 months ago by rjollos
- Owner changed from jeangui to rjollos
comment:2 Changed 11 months ago by rjollos
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 11 months ago by rjollos
comment:4 Changed 9 months ago by rjollos
comment:5 Changed 9 months ago by rjollos
Note: See
TracTickets for help on using
tickets.


(In [11734]) Fixes #9555, #10156: