Bug #2988
Autocomplete "add new" related object behaviour breaks if form submitted too fast
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Google Code Legacy ID: | atom-1038 | Tested version: | ||
Sponsored: | Requires documentation: |
Description
To reproduce:
1) Create or edit an archival description
2) Type in a "name of creator" that doesn't already exist in the system
(i.e. a new actor)
3) Without exiting the "name of creator" field, click the "Save" button
- New authority record created with "name of creator" as "authorized form
of name" - New authority record linked to archival description
- Two fields appear on the form after clicking the submit button (see
screenshot) - one containing the name, and one containing a URL - No authority record is created
- No creator is linked to archival description
- If you exit the "name of creator" field, and wait a few seconds before
clicking the "Save" button, then a new authority record is created and
linked as expected (The hidden field with a URL still appears).
[g] Legacy categories: AJAX, Form validation
Related issues
History
#1 Updated by David Juhasz over 12 years ago
- Ubuntu 8.04 - Hardy Heron
- Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.04
(hardy) Firefox/3.0.14
#2 Updated by Evelyn McLellan over 12 years ago
- Status changed from New to New
- Target version changed from Release 1.0.8 to Release 1.1
After some discussion it was agreed to make this critical for 1.1.
[g] Labels added: Milestone-Release-1.1
[g] Labels removed: Milestone-Release-1.0.8
#3 Updated by Anonymous about 12 years ago
- Priority changed from Critical to High
[g] Labels added: Priority-High
[g] Labels removed: Priority-Critical
#5 Updated by David Juhasz almost 12 years ago
- Subject set to Autocomplete "add new" related object behaviour breaks if form submitted too fast
#6 Updated by Anonymous almost 12 years ago
- Priority set to Medium
[g] Labels added: Priority-Medium
#7 Updated by David Juhasz almost 12 years ago
- Priority changed from Medium to High
[g] Labels added: Priority-High
[g] Labels removed: Priority-Medium
#8 Updated by Evelyn McLellan over 11 years ago
- Priority changed from High to Medium
[g] Labels added: Priority-Medium
[g] Labels removed: Priority-High
#9 Updated by Evelyn McLellan over 11 years ago
Can't currently replicate this in either Firefox or Windows.
#10 Updated by Evelyn McLellan over 11 years ago
- Target version set to Release 1.2
Moved to 1.2.
[g] Labels added: Milestone-Release-1.2
#12 Updated by Jesús García Crespo almost 11 years ago
- Priority changed from Low to High
[g] Labels added: Priority-High
[g] Labels removed: Priority-Low
#13 Updated by Jesús García Crespo almost 11 years ago
[g] New owner: Jesús García Crespo
#14 Updated by Jesús García Crespo almost 11 years ago
I am not sure if the problem above is reproducible anymore, but if you add an nonexistent item and fastly you click in the Save form button a few times, you get this error:
Warning: Invalid argument supplied for foreach() in /home/foobar/www/qubit-toolkit-svn/plugins/sfIsadPlugin/modules/sfIsadPlugin/actions/editAction.class.php on line 134 Notice: Undefined property: sfRoute::$resource in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 349 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Undefined property: sfRoute::$resource in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 349 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Undefined property: sfRoute::$resource in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 349 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Undefined property: sfRoute::$resource in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 349 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Undefined property: sfRoute::$resource in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 349 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Notice: Trying to get property of non-object in /home/foobar/www/qubit-toolkit-svn/apps/qubit/modules/informationobject/actions/editAction.class.php on line 350 Fatal error: Call to a member function __get() on a non-object in /home/foobar/www/qubit-toolkit-svn/lib/model/om/BaseObject.php on line 478
#15 Updated by David Juhasz over 10 years ago
- Target version set to Release 1.3
Roll over to Release 1.3
[g] Labels added: Milestone-Release-1.3
#16 Updated by Jesús García Crespo over 6 years ago
- Assignee deleted (
Jesús García Crespo)