PDA

View Full Version : [FIXED in 2.1.20100409.0] AutoCode File Maintenance with no editing selected


GordS
04-03-2010, 04:54 PM
When I create this new program, I do not select either Editing records option. The file has only one field so there is no need to edit the records in the file at this point in time. When I do this and I tell it to generate the code I get the following error:

uniqueEditStatus is undefined
[Break on this error] if (uniqueEditStatus.indexOf('*INPUT') == -1){

Below is the code from Firebug.


if (addRecords == true){
297 var uniqueAddStatus = fieldStatusStore.collect('ADDSTS');
298 if (uniqueEditStatus.indexOf('*INPUT') == -1){
299 Ext.Msg.show({
300 buttons : Ext.Msg.OK,
301 icon : Ext.Msg.WARNING,
302 title : 'Add Record Setup',
303 msg : 'At least one field must be set for input when adding a record'
304 })
305 return;
306 }
307 }

sean.lanktree
04-05-2010, 11:40 AM
This will be fixed on the next release/update.