phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
309 core / general crash always 2005-02-20 21:02 2005-05-22 21:43
vistep all  
all  
normal 5.4  
new 5.4 (stable)  
from 5.4 till 5.4.163 open  
none  
none  
Crash when required field not exists.
On line 771
$first_required = true;
for ($k = 0; $k < $this->num_fds; $k++)...
when not exist any ['js']['regexp', ['js']['required'] e.t.c
JavaScript code not generated and notincluded, but call HTMLSubmit with $js_validation=true from line 1742 (for savechange, morechange ) generated call not exists function in "onClick=return...".


Create any PME call without required field and try to change any record.
For user - add 1 required field.

Bug Notes
vistep   
2005-02-20 21:11   
See also bug #240
vsinc   
2005-05-22 21:43   
I was tring to find a solution by linking to an external java script file that has a function with the same name as the missing one with just "return true" in it but I am not sure if this creates a problem in the php code.

Also at least for me, having a required field do not solve the problem if you first VIEW a record then press the CHANGE button. If I click OK then the change record page shows up as if nothing happened.

edited on: 2005-05-22 21:47

edited on: 2005-05-22 21:48