https://bugs.documentfoundation.org/show_bug.cgi?id=91837

            Bug ID: 91837
           Summary: Inconsistent error messages when failing to input
                    required fields
           Product: LibreOffice
           Version: 4.4.3.2 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

To reproduce the problem :-

Step 1. Create table TestTable with 3 fields:-
Field Name    Field Type    AutoValue    Entry Required
Key        Integer        Yes        -
A        Text         -        Yes
B        Text        -        No

Step 2. Create form TestForm from all fields in TestTable with arrangement
“Columnar – Labels Left”.

Step 3. Edit the form so that “Input Required” for field B is “No”, but leave
“Input Required” for both other fields as “Yes”.

Step 4. Use the form to try to enter data for a new record but only enter text
into field B. When attempting to save the record, this results in a message
saying :-
Error writing data to database
Input required in field ‘A’. Please enter a value.

Step 5. Select “OK”, enter text into field A, then attempt to save the record
again – this will succeed.

Step 6. Without dismissing the form, select the “New Record” icon to redisplay
a blank form.

Repeat step 4. This time, attempting to save the record results in a different
message saying :-
Error inserting the new record
Attempt to insert null into a non-nullable column: column: A table: TestTable
in statement [INSERT INTO “TestTable” (“B”) VALUES (?)]

The second error message is inconsistent with the first error message.
Repeating the first error message would be far more user-friendly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to