[Libreoffice-bugs] [Bug 123404] New: Removing xtext annotations doesn't throw an exception - it silently fails

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 12 11:59:47 UTC 2019


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 at lists.freedesktop.org
          Reporter: hamishmb at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190212/cf5306ca/attachment.html>


More information about the Libreoffice-bugs mailing list