You need to log in before you can comment on or make changes to this bug.
The Demote Button does not work. I have only been able to Promote a class.
Zak: you took this one, but I found the problem (same issue in the symbolizer) ... I won't fix it because you may have found it already, but the issue is in the test $nSelectedClass != null && $nSelectedClass > 0 && $nSelectedClass < $oLayer->numclasses - 1 this should read $nSelectedClass !== null && $nSelectedClass >= 0 && $nSelectedClass < $oLayer->numclasses - 1 Note the double equals on the first condition, null is the same as 0 unless you ask for 'exactly equals' ... so fixing the second condition doesn't work because the first class (0) will fail on the first test until you make this change.
I made the change, checked the logic of the other operations, and tested. Seems ok now. It's easier when someone else diagnoses the problem and writes the code. ;)
*** Bug 224 has been marked as a duplicate of this bug. ***