id summary reporter owner description type status priority milestone component version resolution keywords cc
8562 Table: Insert Column Before and Insert Column After not working when a column contains some 'undefined' cells Teresa Monahan "'''Steps to Reproduce:'''
1. Open any CKEditor sample and paste the following into source view:
{{{
}}}
2. Switch back to wysiwyg mode and right click in the cell labeled 2.2
3. Select Cell -> Insert Cell After from the context menu. The 2nd row in the table should now have 3 cells.
4. Right click in the new cell and select Column -> Insert Column After.
'''Problem:''' The column is not inserted and a script error occurs.
The error is:
{{{
P[S] is undefined
http://nightly.ckeditor.com/7334/ckeditor.js
Line 86
}}}
When run using ckeditor_source.js the error is:
{{{
cloneCol[i] is undefined
file:///C:/ck%20test%20builds/3.6.2_dev/_source/plugins/tabletools/plugin.js
Line 292
}}}
The code in insertColumn() in tabletools/plugin.js tries to check the colspan of each cell in the column but 2 of the cells in the new column are undefined - therefore the error is thrown.
" Bug closed Normal General 3.5.1 duplicate IBM Damian Satya Minnekanti