You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Craig L. Ching (JIRA)" <ji...@apache.org> on 2008/07/24 17:53:31 UTC

[jira] Created: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

ObjectContentManagerFactoryImpl missing an SCR service interface
----------------------------------------------------------------

                 Key: SLING-581
                 URL: https://issues.apache.org/jira/browse/SLING-581
             Project: Sling
          Issue Type: Bug
          Components: JCR
         Environment: $ mvn --version
Maven version: 2.0.9
Java version: 1.6.0_03
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
            Reporter: Craig L. Ching
         Attachments: SLING-581.patch

The samples/simple-demo was broken because:

    final SamplePage samplePage = resource.adaptTo(SamplePage.class);

in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Closed: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

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

Carsten Ziegeler closed SLING-581.
----------------------------------

    Resolution: Cannot Reproduce

Reverted

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR OCM 2.0.2
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Assignee: Carsten Ziegeler
>             Fix For: JCR OCM 2.0.4
>
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Updated: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

Posted by "Craig L. Ching (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig L. Ching updated SLING-581:
---------------------------------

    Attachment: SLING-581.patch

This patch appears to fix the problem where the ObjectContentManagerFactoryImpl wasn't in an active state at startup.

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Reopened: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

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

Felix Meschberger reopened SLING-581:
-------------------------------------


As explained in [1] can we please revert this "fix" and close this bug as works-for-me.

As an explanation for closing this bug as such said message should be enough. In short: just compiling and deploying the current trunk state fixes the issue, because trunk already contains the actual fix (see SLING-546) but not the released bundle.

[1] http://markmail.org/message/rqfmb7lkbedvhipc

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR OCM 2.0.2
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Assignee: Carsten Ziegeler
>             Fix For: JCR OCM 2.0.4
>
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Updated: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

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

Carsten Ziegeler updated SLING-581:
-----------------------------------

    Affects Version/s: JCR OCM 2.0.2

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR OCM 2.0.2
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Assignee: Carsten Ziegeler
>             Fix For: JCR OCM 2.0.4
>
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Assigned: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

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

Carsten Ziegeler reassigned SLING-581:
--------------------------------------

    Assignee: Carsten Ziegeler

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Assignee: Carsten Ziegeler
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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


[jira] Closed: (SLING-581) ObjectContentManagerFactoryImpl missing an SCR service interface

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

Carsten Ziegeler closed SLING-581.
----------------------------------

       Resolution: Fixed
    Fix Version/s: JCR OCM 2.0.4

> ObjectContentManagerFactoryImpl missing an SCR service interface
> ----------------------------------------------------------------
>
>                 Key: SLING-581
>                 URL: https://issues.apache.org/jira/browse/SLING-581
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR OCM 2.0.2
>         Environment: $ mvn --version
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
>            Reporter: Craig L. Ching
>            Assignee: Carsten Ziegeler
>             Fix For: JCR OCM 2.0.4
>
>         Attachments: SLING-581.patch
>
>
> The samples/simple-demo was broken because:
>     final SamplePage samplePage = resource.adaptTo(SamplePage.class);
> in samples/simple-demo/src/main/resources/SLING-INF/content/apps/sling/SamplePage/html.jsp returns null.  This appeared to fail because the org.apache.sling.jcr.ocm.impl.ObjectContentManagerFactoryImpl was not in the active state.  I'll attach a patch that seems to fix this, the solution was proposed by Rory Douglas on the mailing list

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