required Custom Fields >> APPLICATION ERROR #1303

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Laufenfeuer
Posts: 14
Joined: 07 Mar 2005, 13:14
Location: Lüneburg, Germany

required Custom Fields >> APPLICATION ERROR #1303

Post 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.
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post 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.
Laufenfeuer
Posts: 14
Joined: 07 Mar 2005, 13:14
Location: Lüneburg, Germany

Firefox

Post 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.
jelv
Posts: 16
Joined: 23 Feb 2005, 11:35
Location: Wiltshire, UK

Post 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?
John
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post 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.
kura
Posts: 1
Joined: 28 Apr 2005, 22:17

Post 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.
Post Reply