Too many fields in a report causes an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Human Resource Information System for Tanzania |
Fix Committed
|
High
|
Carl Leitner | ||
I2CE |
Fix Released
|
High
|
Carl Leitner | ||
ihris-manage-cssc |
Fix Committed
|
High
|
Carl Leitner |
Bug Description
Firstly the TANGE report i mean staff directory was having the following
elements:
Firstname, Middlename, Surname, Birth data, Designation Title, Sex, Date
of first appointment, Facility, Facility type, Diocese, Employer, Terms
of Employment, Work Telephone, Work Email, Place of Domicile/Residence
It was working ok.
When i added the following:
------------------
Firstname, Middlename, Surname, Birth data, Designation Title, Sex, Date
of first appointment, Facility, Facility type, Diocese, Employer, Terms
of Employment, Work Telephone, Work Email, Place of Domicile/Residence
-------------
Checked on the Report View
Qualification, Marital Status, Check Number, Personal File Number,
Region, Institution Name, Inst/Location, Course Name, Pension Scheme,
Leave Type, Leave Duration, Next of Kin, Next of Kin Relationship,
Registration Board, Confirmation Date into Service, Retirement Year.
and Generated the reports then it failed with the message:
Native message: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
Changed in pmoralg: | |
status: | In Progress → Fix Committed |
Changed in i2ce: | |
status: | In Progress → Fix Committed |
Changed in ihris-manage-cssc: | |
status: | In Progress → Fix Committed |
Changed in i2ce: | |
status: | Fix Committed → Fix Released |
Full error message is:
firstname` (255)),INDEX `person+othername` (`person+othername` (255)),INDEX `person+relg_affil` (`person+ relg_affil` (255)),INDEX `person+residence` (`person+residence` (255)),INDEX `person+surname` (`person+surname` (255)),INDEX `position+ department` (`position+ department` (255)),INDEX `position+facility` (`position+ facility` (255)),INDEX `position+job` (`position+job` (255)),INDEX `position+employer` (`position+ employer` (255)),INDEX `position+pos_type` (`position+ pos_type` (255)),INDEX `position+ supervisor` (`position+ supervisor` (255)),INDEX `position+title` (`position+title` (255)),INDEX `start_ salary+ start_date` (`start_ salary+ start_date` ),INDEX `start_ salary+ salary` (`start_ salary+ salary` (255))) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin nz.csschris. or.tz/manage- northern/ index.php/ CustomReports/ edit/reports iHRIS/lib/ 4.0.15/ I2CE/modules/ CustomReports/ lib/I2CE_ CustomReport. php:469)
I2CE_CustomRepo rt->_generateCa che (/var/lib/ iHRIS/lib/ 4.0.15/ I2CE/modules/ CustomReports/ lib/I2CE_ CustomReport. php:437)
I2CE_CustomRepo rt->generateCac he (/var/lib/ iHRIS/lib/ 4.0.15/ I2CE/modules/ CustomReports/ lib/I2CE_ Page_CustomRepo rts.php: 348)
I2CE_Page_ CustomReports- >actionGenerate (/var/lib/ iHRIS/lib/ 4.0.15/ I2CE/modules/ CustomReports/ lib/I2CE_ Page_CustomRepo rts.php: 143)
I2CE_Page_ CustomReports- >action (/var/lib/ iHRIS/lib/ 4.0.15/ I2CE/modules/ Pages/lib/ I2CE_Page. php:464)
I2CE_Page- >display (/var/lib/ iHRIS/lib/ 4.0.15/ I2CE/modules/ Pages/lib/ I2CE_Wrangler. php:89)
I2CE_Wrangler- >wrangle (/var/lib/ iHRIS/cssc_ zonal_deploy/ sites/northern/ pages/index. php:60) cssc_northern` .`tmp_custom_ report_ staff_list[ 21]` SELECT `base_table` .`primary_ form+id` as `primary_ form+id` ,`base_ table`. `primary_ form+parent` as `primary_ form+parent` ,`base_ table`. `primary_ form+end_ date` as `primary_ form+end_ date`,` base_table` .`primary_ form+position` as `primary_ form+position` ,`base_ table`. `primary_ form+start_ date` as `primary_ form+start_ date`,` base_table` .`primary_ form+reason` as `primary_ form+reason` ,`base_ table`. `current_ salary+ id` as `current_ salary+ id`,`base_ table`. `current_ salary+ parent` as `current_ salary+ parent` ,`base_ table`. `current_ salary+ end_date` as `current_ salary+ end_date` ,`base_ table`. `current_ salary+ salary` as `current_ salary+ salary` ,`base_ table`. `person+ id` as `person+ id`,`base_ table`. `person+ parent` as `person+ parent` ,`base_ table`. `person+ nationality` as `person+ nationality` ,`base_ table`. `person+ firstname` as `person+ firstname` ,`base_ table`. `person+ othername` as `person+ othername` ,`base_ table`. `person+ relg_affil` as `person+ relg_affil` ,`base_ table`. `person+ residence` as `person+ residence` ,`base_ table`. `person+ surname` as `person+ surname` ,`base_ table`. `position+ id` as `position+ id`,`base_ table`. `position+ parent` as `position+ parent` ,`base_ table`. `position+ department` as `position+ department` ,`base_ table`. `position+ facility` as `position+ facility` ,`base_ table`. `position+ job` as `position+ job`,`base_ table`. `position+ employer` as `position+ employer` ,`base_ t...
[Wed Aug 03 02:57:52 2011] [error] [client 196.46.109.199]
Refered by : http://
I2CE: I2CE->raiseError (/var/lib/
Doing INSERT IGNORE INTO `manage_