Bug #4337

Creation of new authority records can produce event db rows where information_object_id column is NULL

Added by Jesús García Crespo about 8 years ago. Updated over 7 years ago.

Status:VerifiedStart date:
Priority:HighDue date:
Assignee:Jesús García Crespo% Done:

0%

Category:-
Target version:Release 1.3
Google Code Legacy ID:atom-2389 Tested version:
Sponsored: Requires documentation:

Description

To reproduce this error: ========================
1) Create new authority record
2) Open Related resources dialog (click add button)
3) Insert a date
4) Leave the title field empty (do not select any prepopulated item neither)
5) Close the dialog
6) Save the authority record

Resulting error: ================

Now if the database is checked a new event record is created with a NULL value in the information_object_id column. This was producing unexpected errors in other parts of the application.

Expected result: ================

The related resource should never be created under that circumstances.

Problem reported by archeion.ca.

[g] Legacy categories: Form validation

History

#1 Updated by Jesús García Crespo about 8 years ago

  • Status changed from New to QA/Review

Fixed in r12028.

#2 Updated by Jesús García Crespo about 8 years ago

  • Status changed from QA/Review to Verified

Verified.

Also available in: Atom PDF