[
https://issues.apache.org/jira/browse/JCR-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577465#action_12577465
]
Thomas Mueller commented on JCR-1462:
-------------------------------------
Committed in revision 635940.
This is a 'proof of concept'; it logs a warning and does not throw an exception:
"BeanConfig: org.apache.jackrabbit.core.fs.local.LocalFileSystem
does not support 'abc'; the setting is ignored."
when using
<FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
<param name="abc" value=""/>
<param name="path" value="${rep.home}/repository"/>
</FileSystem>
Logging a warning could even be done in Jackrabbit 1.4.x I think.
If there are no problem I will change the code in a week or so to throw an
exception.
> repository.xml: throw an exception on error
> -------------------------------------------
>
> Key: JCR-1462
> URL: https://issues.apache.org/jira/browse/JCR-1462
> Project: Jackrabbit
> Issue Type: New Feature
> Components: jackrabbit-core
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 1.5
>
>
> Currently, unsupported parameters in repository.xml and workspace.xml are
> ignored.
> To find problems earlier, such problems should result in an exception,
> and starting such a repository should not be possible.
> The same should happen for unsupported values.
> For currently unavailable options
> (such as text extraction filter classes if the class is not in the classpath),
> at least a warning should be written to the error log, or an error should be
> thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.