Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7883

Need a test to validate handling of missing pool name in cache XML

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • native client
    • None

    Description

      We've had a report that older versions of the native client would fault and core dump when given a cache.xml file containing a <pool> tag missing the name attribute.  We believe this was fixed when we switched from libxml2 to xerces for parsing, but need a test to validate.

       

      Given: a cache xml file containing a <pool> tag with no name attribute

      When: an attempt is made to load said cache xml file

      Then: an exception of type apache::geode::client::CacheXmlException is thrown, with a message that indicates the source of the problem.

       

      Acceptance Criteria:

      A test exists in the cppcache/integration/test suite which attempts to load a cache xml with this problem, catches and validates the exception type.  This test passes on all platforms.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbender Blake Bender
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h