You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (Jira)" <ji...@apache.org> on 2020/12/11 19:34:00 UTC

[jira] [Updated] (GEODE-7883) Need a test to validate handling of missing pool name in cache XML

     [ https://issues.apache.org/jira/browse/GEODE-7883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blake Bender updated GEODE-7883:
--------------------------------
    Fix Version/s: 1.13.0

> Need a test to validate handling of missing pool name in cache XML
> ------------------------------------------------------------------
>
>                 Key: GEODE-7883
>                 URL: https://issues.apache.org/jira/browse/GEODE-7883
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)