geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2975) Attributes are not validated in lucene xml configuration
Date Tue, 30 May 2017 17:51:04 GMT

    [ https://issues.apache.org/jira/browse/GEODE-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029828#comment-16029828
] 

ASF GitHub Bot commented on GEODE-2975:
---------------------------------------

GitHub user upthewaterspout opened a pull request:

    https://github.com/apache/geode-site/pull/5

    GEODE-2975: Change the location of the lucene xsd

    The lucene xsd was not in the correct location on the website.
    
    Also, fixing the website generation so that it copies the xsds to the
    output directory.
    
    @joeymcallister @karensmolermiller

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/upthewaterspout/geode-site feature/GEODE-2975

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode-site/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5
    
----
commit 0f96bc1b520f7442f513e2849be418b62a0b9d47
Author: Dan Smith <upthewaterspout@apache.org>
Date:   2017-05-30T17:24:35Z

    GEODE-2975: Change the location of the lucene xsd
    
    The lucene xsd was not in the correct location on the website.
    
    Also, fixing the website generation so that it copies the xsds to the
    output directory.

----


> Attributes are not validated in lucene xml configuration
> --------------------------------------------------------
>
>                 Key: GEODE-2975
>                 URL: https://issues.apache.org/jira/browse/GEODE-2975
>             Project: Geode
>          Issue Type: Bug
>          Components: docs, lucene
>            Reporter: Barry Oglesby
>             Fix For: 1.2.0
>
>
> No exception is thrown for a lucene xml configuration missing a required attribute.
> No exception is thrown for a lucene xml configuration including an unknown attribute.
> If a {{lucene:field}} element is defined like below, no exception is thrown for the invalid
attribute called {{namexx}} and no exceptio is thrown because the required attribute called
{{name}} is not included.
> {noformat}
> <lucene:field namexx="Agency"/>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message