You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Phil (JIRA)" <ji...@apache.org> on 2011/07/13 11:07:00 UTC

[jira] [Created] (SLING-2139) JCR Explorer fails to display data

JCR Explorer fails to display data
----------------------------------

                 Key: SLING-2139
                 URL: https://issues.apache.org/jira/browse/SLING-2139
             Project: Sling
          Issue Type: Bug
         Environment: IE 9.0.1 or Chrome 12.0.742.112
Window 7 64 bit
org.apache.sling.launchpad-6-standalone.jar
jdk1.6.0_24 (64 bit)

            Reporter: Phil


1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
4: Use the jcrexplorer and navigate to /content/mynode1
5: Observe that the properties title and resourceType are not displayed (see attached image)

In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2139) JCR Explorer fails to display data

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

Robert A. Decker updated SLING-2139:
------------------------------------

    Attachment: SLING-2139.diff

Added a second replace to replace '/' with '_' just like it was already replacing ':' with '_'.
                
> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>         Attachments: SLING-2139.diff, SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (SLING-2139) JCR Explorer fails to display data

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

Bertrand Delacretaz reassigned SLING-2139:
------------------------------------------

    Assignee: Bertrand Delacretaz
    
> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Explorer 1.0.2
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>            Assignee: Bertrand Delacretaz
>             Fix For: Sling Explorer 1.0.4
>
>         Attachments: SLING-2139.diff, SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2139) JCR Explorer fails to display data

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

Phil updated SLING-2139:
------------------------

    Attachment: SlingJcrExplorer.png

Screenshot

> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>         Attachments: SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SLING-2139) JCR Explorer fails to display data

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

Bertrand Delacretaz updated SLING-2139:
---------------------------------------

          Component/s: Extensions
    Affects Version/s: Sling Explorer 1.0.2
        Fix Version/s: Sling Explorer 1.0.4
    
> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Explorer 1.0.2
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>            Assignee: Bertrand Delacretaz
>             Fix For: Sling Explorer 1.0.4
>
>         Attachments: SLING-2139.diff, SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (SLING-2139) JCR Explorer fails to display data

Posted by "Robert A. Decker (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243187#comment-13243187 ] 

Robert A. Decker edited comment on SLING-2139 at 3/31/12 3:13 PM:
------------------------------------------------------------------

This patch file adds a replace '/' with '_' just like it was already replacing ':' with '_' in order to no longer break when displaying nodes with slingResourceType set to a path.
                
      was (Author: comrade):
    Added a second replace to replace '/' with '_' just like it was already replacing ':' with '_'.
                  
> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>         Attachments: SLING-2139.diff, SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SLING-2139) JCR Explorer fails to display data

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

Bertrand Delacretaz resolved SLING-2139.
----------------------------------------

    Resolution: Fixed

Patch applied in revision 1308317, thanks for the bug report and patch!
                
> JCR Explorer fails to display data
> ----------------------------------
>
>                 Key: SLING-2139
>                 URL: https://issues.apache.org/jira/browse/SLING-2139
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Explorer 1.0.2
>         Environment: IE 9.0.1 or Chrome 12.0.742.112
> Window 7 64 bit
> org.apache.sling.launchpad-6-standalone.jar
> jdk1.6.0_24 (64 bit)
>            Reporter: Phil
>            Assignee: Bertrand Delacretaz
>             Fix For: Sling Explorer 1.0.4
>
>         Attachments: SLING-2139.diff, SlingJcrExplorer.png
>
>
> 1: Execute  curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some title" http://localhost:8080/content/mynode1
> 2: Use a browser and navigate to http://localhost:8080/content/mynode1.json
> 3: Observe the correct response {"title":"some title","sling:resourceType":"foo/bar","jcr:primaryType":"nt:unstructured"}
> 4: Use the jcrexplorer and navigate to /content/mynode1
> 5: Observe that the properties title and resourceType are not displayed (see attached image)
> In general sometimes I get data, and sometimes I don't. On occasion if I have put a json map as the value of the string, I only get the first "{" displayed and no other text. 
> The route I have described is very repeatable, and I have tried it with multiple browsers, multiple times

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira