| Index
» Projects
» phpMyEdit
» Bug list
» Bug #234 |
 |
|
Viewing Bug Advanced Details |
[ Jump to Bugnotes ]
[ Bug History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0000234 |
core / general |
tweak |
always |
2004-04-19 20:03 |
2007-05-03 17:48 |
|
|
|
Reporter |
g051798 |
View Status |
public |
|
|
Assigned To |
|
|
Priority |
normal |
Resolution |
open |
Platform |
Unix |
|
Status |
feedback |
Duplicate ID |
|
OS |
Solaris |
|
Projection |
none |
|
Version |
Ver 8 |
|
ETA |
none |
|
Product Version |
current from CVS |
|
|
Product Build |
|
|
|
Votes |
1 |
|
|
|
Summary |
Java runtime Error upon Add (similar to on delete that was fixed in CVS) |
|
Description |
I get a runtime error when adding a record. The add form has a lookup to another table:
$opts['fdd']['AppID']['values']['table'] = 'Applications';
$opts['fdd']['AppID']['values']['column'] = 'AppID';
$opts['fdd']['AppID']['values']['description']['columns'][0] = 'Host_Name';
$opts['fdd']['AppID']['values']['description']['columns'][1] = 'Application';
$opts['fdd']['AppID']['values']['description']['columns'][2] = 'Version';
$opts['fdd']['AppID']['values']['description']['columns'][3] = 'Instance';
$opts['fdd']['AppID']['values']['description']['divs'][0] = ' - ';
$opts['fdd']['AppID']['values']['description']['divs'][1] = ' - ';
$opts['fdd']['AppID']['values']['description']['divs'][2] = ' - ';
When, i click add, a error pops up saying "A Runtime Error has occured. Do you wish to debug... Object expected". The record is added correctly but the popup happens every time.
I believe this is related to the same problem i reported earlier that was fixed in CVS.
Thanks for your help,
John
|
|
Steps To Reproduce |
|
|
Additional Information / Solution |
I have attached a screen shot of the error |
|
Attached Files |
ScreenHunter_001.jpg (23,392 bytes) 2004-04-19 20:03 ScreenHunter_003.jpg (103,879 bytes) 2004-04-19 22:11 |
|
|
|
Bug Notes |
hbernard
2004-04-19 20:36
|
well, no, this is not "the same" because Delete's problem was that we were doing a validation while there was nothing to validate.
Here, Add must valid something.
What are the details of the runtime Error ? |
|
|
g051798
2004-04-19 22:14
|
I just uploaded the screen shot if I debug the error. The arrow in debug points to this part of the HTML:
<input type="submit" class="pme-save" name="saveadd" value="Save" onClick="return phpMyEdit_form_control(this.form);"> <input type="submit" class="pme-more" name="moreadd" value="More" onClick="return phpMyEdit_form_control(this.form);"> <input type="submit" class="pme-cancel" name="canceladd" value="Cancel"></td>
I dont know how to debug any further. I hope this helps...
Rgds,
John |
|
|
michal
2004-04-19 22:21
|
my only guess is to change
onClick="return phpMyEdit_form_control(this.form);"
to
onClick="return phpMyEdit_form_control(phpMyEdit_form);"
since 'phpMyEdit_form' is the name of the form. |
|
|
hbernard
2004-04-20 14:26
|
g051798: what is your browser/os ? |
|
|
g051798
2004-04-20 16:05
|
The client browser is running on Windows 2000 with IE browser version 6.0.2800.1106 with the latest patches applied. The server side is running Solaris 8 and the latest CVS of phpmyedit.
Thanks,
John |
|
|
slipnslidemaster
2007-05-03 17:39
|
I am also experiencing this error. It's only one table, "USERS", that is giving me the "Object Expected" error.
I have set all the fields to not require a value, and have eliminated any MySQL automatic population (expect autoincrement for the index field).
Any thoughts? |
|
|
slipnslidemaster
2007-05-03 17:48
|
I fixed it.
Getting the error on this line: "onclick="return PME_js_form_control(this.form);""
There was no js function "PME_js_form_control" in the file. By creating one "required" field, it created the function and everything is fine now. |
|
|
|
Bug History |
|
Date Modified |
Username |
Field |
Change |
|
2004-04-19 20:03 |
g051798 |
New Bug |
|
|
2004-04-19 20:03 |
g051798 |
File Added: ScreenHunter_001.jpg |
|
|
2004-04-19 20:33 |
hbernard |
Bug Monitored: hbernard |
|
|
2004-04-19 20:36 |
hbernard |
Bugnote Added: 0001005 |
|
|
2004-04-19 20:37 |
hbernard |
status |
new => feedback |
|
2004-04-19 22:11 |
g051798 |
File Added: ScreenHunter_003.jpg |
|
|
2004-04-19 22:14 |
g051798 |
Bugnote Added: 0001009 |
|
|
2004-04-19 22:21 |
michal |
Bugnote Added: 0001010 |
|
|
2004-04-20 14:26 |
hbernard |
Bugnote Added: 0001021 |
|
|
2004-04-20 16:05 |
g051798 |
Bugnote Added: 0001029 |
|
|
2007-05-03 17:39 |
slipnslidemaster |
Bugnote Added: 0001877 |
|
|
2007-05-03 17:48 |
slipnslidemaster |
Bugnote Added: 0001878 |
|
|
|