Page 1 of 1

required Custom Fields >> APPLICATION ERROR #1303

Posted: 12 Apr 2005, 13:15
by Laufenfeuer
Hello,

we are using Mantis version 0.18.2.
Creating required Custom Fields I do by setting Min. Length = 1

If a user reports a bug without any information in this required Custom Field and he submits this report there is a message:

"APPLICATION ERROR #1303
Invalid value for field

Please use the "Back" button in your web browser to return to the
previous page. There you can correct whatever problems were identified
in this error or select another action. You can also click an option from
the menu bar to go directly to a new section"

But when the user returns to previous page all informations written before are lost (only blank fields).

What is the problem?
Is there any solution for me?
Is there a later Mantis version without this bug?

Thanks for your help.

Posted: 12 Apr 2005, 14:40
by thraxisp
You are using Internet Explorer? This is a known bug/feature with that tool. It treats the "no-cache" headers very strictly, and discards the information when you go back. Firefox works, and we are looking at other solutions.

Firefox

Posted: 13 Apr 2005, 07:29
by Laufenfeuer
Yes, you are right, we are useing Internet Explorer.

But I checked it with Firefox (1.0), and the result is the same. Going back to the bug report all fields are blanc.

Posted: 27 Apr 2005, 08:27
by jelv
See this bug: http://bugs.mantisbt.org/view.php?id=3729 particularly the notes.

I added the

Code: Select all

$g_bypass_headers = ON;
to config_inc.php and it has fixed it for me using Firefox 1.0.3.

As this "fix" seems a bit of a sledgehammer, does anyone know if it has any undesirable side effects?

Posted: 27 Apr 2005, 12:07
by thraxisp
The issue is with the "Pragma: no-cache" option. You could delete these, but there is a possibility that users won't see new issues because their looking in their local cache instead of the web site.

Posted: 28 Apr 2005, 22:46
by kura
There is a easy solution for firefox users, and needs no source code changes.

The firefox extension "Auto Form" auto saves/reloads (depending on configuration) form data in any page.
This extension auto reloads the form data if you need to go back after error like this.