You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/10/13 19:18:44 UTC

[jira] Created: (JCR-1805) Trim whitespace from parameter names in configuration files

Trim whitespace from parameter names in configuration files
-----------------------------------------------------------

                 Key: JCR-1805
                 URL: https://issues.apache.org/jira/browse/JCR-1805
             Project: Jackrabbit
          Issue Type: Improvement
          Components: config, jackrabbit-core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor
             Fix For: 1.5.0


We've had a couple of issues with extra whitespace in parameter names causing those configuration options being lost. Now with the more strict validation of configuration settings such mistakes can even prevent the repository from starting. On one hand that's a good thing, as the user would then explicitly need to fix such broken configurations, but it would be nice if no user intervention was needed.

Since leading and trailing whitespace is never allowed in parameter names, we can just as well trim it automatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1805) Trim whitespace from parameter names in configuration files

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-1805.
--------------------------------

    Resolution: Fixed

Implemented in revision 704167.

> Trim whitespace from parameter names in configuration files
> -----------------------------------------------------------
>
>                 Key: JCR-1805
>                 URL: https://issues.apache.org/jira/browse/JCR-1805
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: config, jackrabbit-core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> We've had a couple of issues with extra whitespace in parameter names causing those configuration options being lost. Now with the more strict validation of configuration settings such mistakes can even prevent the repository from starting. On one hand that's a good thing, as the user would then explicitly need to fix such broken configurations, but it would be nice if no user intervention was needed.
> Since leading and trailing whitespace is never allowed in parameter names, we can just as well trim it automatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.