Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Bug list  »  Bug #289

Viewing Bug Advanced Details [ Jump to Bugnotes ] [ Bug History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000289 core / field option trivial always 2004-12-15 16:23 2005-03-10 11:23
 
Reporter kenneth View Status public  
Assigned To
Priority normal Resolution open Platform All
Status feedback Duplicate ID OS All
Projection none Version All
ETA none Product Version 5.4 (stable)
  Product Build
  Votes 1
 
Summary Javascript generation error
Description Empty first array entry Never produces an edit error check 'required' => true
Steps To Reproduce Enpty first entry in select array
Additional Information / Solution the code: $condition = 'theForm.%s.selectedIndex == -1
should be: $condition = 'theForm.%s.selectedIndex == 0
Attached Files

Bug Notes
nepto
2004-12-16 17:55

Please let us know the user-agent (browser) name where did you test this. Thanks.
 
kenneth
2004-12-16 18:08

Error ocurs on:

Mozzila osx
Firebird osx
Opera osx
Mozillia MS 2000
Firebird MS 2000
IE MS 2000

edited on: 2004-12-16 18:10
 
kenneth
2004-12-16 18:08

I changed the code as indicated and it works
 
nepto
2004-12-18 04:07

Do you think that we can yout use

$condition = 'theForm.%s.selectedIndex <= 0

I see no problem with that, do you?
 
kenneth
2004-12-18 10:05

Nope I see no problem but then again I am not a Javascript interpreter :-) Sounds like you are worried about a mountain of code that is working with -1. I will run a test with <= 0 and post a note on my results.
 
nepto
2004-12-26 05:36

Any discovered results?

Thanks.
 
kenneth
2004-12-27 20:27

I have not tried it yet
 
admin
2005-03-10 11:23

Changed the category.
 

Bug History
Date Modified Username Field Change
2004-12-15 16:23 kenneth New Bug
2004-12-16 17:55 nepto Bugnote Added: 0001380
2004-12-16 17:55 nepto status new => feedback
2004-12-16 18:08 kenneth Bugnote Added: 0001381
2004-12-16 18:08 kenneth Bugnote Added: 0001382
2004-12-16 18:10 kenneth Bugnote Edited: 1381
2004-12-18 04:07 nepto Bugnote Added: 0001384
2004-12-18 10:05 kenneth Bugnote Added: 0001385
2004-12-26 05:36 nepto Bugnote Added: 0001393
2004-12-27 20:27 kenneth Bugnote Added: 0001401
2005-03-10 11:23 admin category setup script => core / field option
2005-03-10 11:23 admin Bugnote Added: 0001547

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy