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

            Bug ID: 123404
           Summary: Removing xtext annotations doesn't throw an exception
                    - it silently fails
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: hamis...@live.co.uk

Description:
When creating and removing annotations as shown in /sw/qa/python/xtext.py,
annotations can be removed twice without causing exceptions or any kind of
warning. This seems to be a silent failure, but I don't know if there are any
side effects of doing this.

Steps to Reproduce:
1. Run the xtext unit test:
2. cd sw
3. make PythonTest_sw_python PYTHON_TEST_NAME="xtext"
4. The test completes successfully, even though it removes annotations twice.

Actual Results:
The test completes - unexpected success.

Expected Results:
The test as it is at the moment should fail in some way - throw an exception. I
expected it to segfault, but it doesn't.


Reproducible: Always


User Profile Reset: No



Additional Info:
Throw an exception or issue some other kind of warning or error when an
annotation that doesn't exist is removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to