You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simon Gaeremynck (JIRA)" <ji...@apache.org> on 2010/02/24 13:40:27 UTC
[jira] Created: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
ignoreImportProviders doesn't allow multiple values.
----------------------------------------------------
Key: SLING-1409
URL: https://issues.apache.org/jira/browse/SLING-1409
Project: Sling
Issue Type: Bug
Components: JCR
Affects Versions: JCR Contentloader 2.0.6
Reporter: Simon Gaeremynck
Fix For: JCR ContentLoader 2.0.8
The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
For example:
SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
AFAICT it only chooses the first one.
I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
The following test in ManifestHeaderTest identifies this issue:
public void testMultiple() {
String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
final ManifestHeader entry = ManifestHeader.parse(header);
assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
}
As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
Using another character would solve this.
[1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1409.
-------------------------------------
Resolution: Fixed
Reverted and updated docs
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson closed SLING-1409.
---------------------------------
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.1.0
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reopened SLING-1409:
-------------------------------------
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reopened SLING-1409:
-------------------------------------
A comma is allowed if the whole string is quoted
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1409.
-------------------------------------
Resolution: Not A Problem
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned SLING-1409:
---------------------------------------
Assignee: Carsten Ziegeler
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1409) ignoreImportProviders doesn't allow
multiple values.
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1409.
-------------------------------------
Resolution: Fixed
Updated documentation and use a slash as separator (Revision 915786)
> ignoreImportProviders doesn't allow multiple values.
> ----------------------------------------------------
>
> Key: SLING-1409
> URL: https://issues.apache.org/jira/browse/SLING-1409
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Contentloader 2.0.6
> Reporter: Simon Gaeremynck
> Assignee: Carsten Ziegeler
> Fix For: JCR ContentLoader 2.0.8
>
>
> The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore.
> For example:
> SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json
> AFAICT it only chooses the first one.
> I've traced this down to the ManifestHeader class in o.a.s.commons.osgi.
> It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values.
> The following test in ManifestHeaderTest identifies this issue:
> public void testMultiple() {
> String header = "SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml";
> final ManifestHeader entry = ManifestHeader.parse(header);
> assertEquals("json,xml", entry.getEntries()[0].getAttributes()[1].getValue());
> }
> As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute.
> Using another character would solve this.
> [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.