Bug #43 - Script command SetCell() causes segfault
Product:PageStream 5.0.1.36 (All Platforms)Reported By:Tim Doty
Severity:MajorAssigned To:Deron Kazmaier
Priority:Average sign in to watch (1 is watching)
Status:Fixed in Reported:2005-01-23 17:12:00
Category:ScriptingUpdated:2005-01-23 17:12:00
Summary:Script command SetCell() causes segfault
Keywords:script,setcell
Attached Files:No files attached.
 Sign In to add a file.

InsertCellRow() has no effect. E.g.,

cc_TableID = DrawTable(.75,.75,8.25,10.25)
InsertCellRow("After","ObjectID",cc_TableID['.result'],"CellIndex",1,1)

draws a table, but does not change it in any discernible way. The same is true for InsertCellColumn(). EditTable() likewise has no effect (e.g, name is not set). SetCell() has no effect.


------- Additional Comment #1 From Tim Doty 2005-01-23 17:16 -------

Oops! Found a fault in my testing... InsertCellRow(), InsertCellColumn() and EditTable() *do* work. However, DeleteCellRow() seems to be the cause of a segfault. Checking...


------- Additional Comment #2 From Tim Doty 2005-01-23 17:19 -------

DeleteCellRow() is fine. SetCell() appears to cause a crash regardless of parameters passed to it. Changing summary and severity to be more appropriate.


------- Additional Comment #3 From Tim Doty 2005-01-23 17:34 -------

Just calling SetCell("ObjectID",ObjectID) causes a segfault. Calling SetCell("RowHeight",Height,"ObjectID",ObjectID) causes a segfault whether or not Height is an integer or a string (e.g., 10pt).

Tim Doty wrote...2008-01-06 11:25:49

Must be fixed as SetCell() is working at least as of 5.0.3.4 linux (CreateCalendar uses this function)

[Status updated to 'Fixed in ' on Sun, 06 Jan 2008 11:25:49 -0500]

Add a Comment
Sign in to add a comment.

Bug #43 - Script command SetCell() causes segfault by Tim Doty   script,setcell
  created:2005-01-23 17:12:00   last updated:2005-01-23 17:12:00
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.


sign in to add a bug