Comment 5 for bug 607499

Revision history for this message
jerzyo (jerzyo) wrote :

Hi

The problem gets much worse in IE8. In IE8, when the error appears and one goes back, then some data gets lost. In IE8 in described above situation, some fields get lost (they were filled with values and now they are not).

I disagree with Nhomar. When an error is raised, you cannot gurantee that the state of the field is properly set. Moreover, when an error is raised, you should go back to state as if button was never pressed. In invoice, when you want to confirm an incorrect invoice, after an error is raised, you should go back to the draft state. Errors are for making it impossible to change the state of the object if values are incorrect.

In my opinion this is connected with the history.back() button of the error page, which works in an incorrect manner (and different in different browser). In my opinion this should be a form button that will post all the values of the form and fill the form with proper values. Another solution is to make error page a popup window - there would be no switching from one form to another, so the values in the form will be changed.

I need to get this fixed really badly. Please let me know, what do you think about my suggestions. If no one fixes the bug in 2 weeks, I will have to do it myself. However, if I do it myself, I will make a kind of nasty hack which would be useless for others. I need help with it