You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2009/12/21 13:17:18 UTC

[jira] Created: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
-------------------------------------------------------------------------------

                 Key: SLING-1253
                 URL: https://issues.apache.org/jira/browse/SLING-1253
             Project: Sling
          Issue Type: Bug
          Components: JCR
         Environment: using org.apache.sling.jcr.resource of revision R891543
            Reporter: Tobias Bocanegra


when trying to create a JcrPropertyMap in a jsp i get:

An error occurred at line: 1 in the generated java file
The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
Type mismatch: cannot convert from JcrPropertyMap to ValueMap
null

i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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


[jira] Updated: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

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

Carsten Ziegeler updated SLING-1253:
------------------------------------

    Affects Version/s: JCR Resource 2.0.8
        Fix Version/s: JCR Resource 2.0.8

> org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1253
>                 URL: https://issues.apache.org/jira/browse/SLING-1253
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.8
>         Environment: using org.apache.sling.jcr.resource of revision R891543
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8
>
>
> when trying to create a JcrPropertyMap in a jsp i get:
> An error occurred at line: 1 in the generated java file
> The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files
> An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
> Type mismatch: cannot convert from JcrPropertyMap to ValueMap
> null
> i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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


[jira] Commented: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793629#action_12793629 ] 

Carsten Ziegeler commented on SLING-1253:
-----------------------------------------

The new operation can't instantiate the object as it is running inside the classloader of the jsp. This classloader has no access to the private super class. Therefore instantiation fails.

> org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1253
>                 URL: https://issues.apache.org/jira/browse/SLING-1253
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>         Environment: using org.apache.sling.jcr.resource of revision R891543
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8
>
>
> when trying to create a JcrPropertyMap in a jsp i get:
> An error occurred at line: 1 in the generated java file
> The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files
> An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
> Type mismatch: cannot convert from JcrPropertyMap to ValueMap
> null
> i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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


[jira] Assigned: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

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

Carsten Ziegeler reassigned SLING-1253:
---------------------------------------

    Assignee: Carsten Ziegeler

> org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1253
>                 URL: https://issues.apache.org/jira/browse/SLING-1253
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>         Environment: using org.apache.sling.jcr.resource of revision R891543
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>
> when trying to create a JcrPropertyMap in a jsp i get:
> An error occurred at line: 1 in the generated java file
> The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files
> An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
> Type mismatch: cannot convert from JcrPropertyMap to ValueMap
> null
> i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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


[jira] Resolved: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

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

Carsten Ziegeler resolved SLING-1253.
-------------------------------------

    Resolution: Fixed

I've moved the code for the classes back to the public package in revision: 893197

> org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1253
>                 URL: https://issues.apache.org/jira/browse/SLING-1253
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>         Environment: using org.apache.sling.jcr.resource of revision R891543
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8
>
>
> when trying to create a JcrPropertyMap in a jsp i get:
> An error occurred at line: 1 in the generated java file
> The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files
> An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
> Type mismatch: cannot convert from JcrPropertyMap to ValueMap
> null
> i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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


[jira] Updated: (SLING-1253) org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface

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

Carsten Ziegeler updated SLING-1253:
------------------------------------

    Affects Version/s:     (was: JCR Resource 2.0.8)
                       JCR Resource 2.0.6

> org.apache.sling.jcr.resource.JcrPropertyMap does not expose ValueMap interface
> -------------------------------------------------------------------------------
>
>                 Key: SLING-1253
>                 URL: https://issues.apache.org/jira/browse/SLING-1253
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>         Environment: using org.apache.sling.jcr.resource of revision R891543
>            Reporter: Tobias Bocanegra
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.0.8
>
>
> when trying to create a JcrPropertyMap in a jsp i get:
> An error occurred at line: 1 in the generated java file
> The type org.apache.sling.jcr.resource.internal.JcrPropertyMap cannot be resolved. It is indirectly referenced from required .class files
> An error occurred at line: 33 in the jsp file: /apps/foo/center.jsp
> Type mismatch: cannot convert from JcrPropertyMap to ValueMap
> null
> i guess the reason is that only the internal JcrPropertyMap implements the ValueMap interface, but ont the public one.

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