Hi, Le Mon, 11 May 2009 11:08:24 -0400, Galen Charlton <[email protected]> a écrit :
> Hi Nahuel, > > On Thu, Apr 30, 2009 at 9:09 AM, Nahuel ANGELINETTI > <[email protected]> wrote: > > This patch make authority and biblio add/edit to check that at > > least one subfield of mandatory fields are filled-in. > > I discovered the following problems during testing - please work on > this and resubmit: > > [1] The patch had no discernible effect on editing bib records. When > I marked a field as required (but none of its subfields), the editor > would still let me save a bib record even if I hadn't entered any data > into any of the tag's subfields. This is very strange, because I have not this issue. If I have only one field which is mandatory, without any mandatory subfield, and no data, the editor don't let me save the record. So I don't know what's happening. > [2] When editing authority records, the patch *did* catch when a > mandatory field had no content in any of its subfields. However, it > goes too far - for mandatory variable control fields (tags < 010) that > do not have subfields, it prevents you from saving a record because it > can't find any subfields for them, even though those fields by > definition don't have subfields. So, why are they mandatory? bests, -- Nahuel ANGELINETTI _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
