[ 
https://issues.apache.org/jira/browse/SLING-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902363#comment-14902363
 ] 

Carsten Ziegeler commented on SLING-5045:
-----------------------------------------

I'Ve fixed the json files in the slingshot sample. I have the feeling that the 
readme in the accessmanager ui is outdated and needs updating

> The new 'test' user is not able to access slingshot page
> --------------------------------------------------------
>
>                 Key: SLING-5045
>                 URL: https://issues.apache.org/jira/browse/SLING-5045
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication
>    Affects Versions: JCR Jackrabbit Access Manager 2.1.2
>            Reporter: Venkat Ganesh
>            Priority: Trivial
>              Labels: easytest
>
> Get the latest apache sling code from https://github.com/apache/sling. 
> Follow the instructions available at 
> sling/samples/accessmanager-ui/README.txt. From another browser, go to 
> http://localhost:8080/system/console and try to login as user test and the 
> password test. Not able to login successfully. Access control application 
> feature is not working correctly. 
> Also note that the command 'mvn install -P autoInstallBundle'  from 
> sling/samples/slingshot directory is failing because of extra comma in the 
> json files. An example error is shown below. To fix the error shown below, I 
> removed the extra commas from the offending json files. 
> [ERROR] Failed to execute goal 
> org.apache.sling:maven-sling-plugin:2.1.0:validate (install-bundle) on 
> project org.apache.sling.sample.slingshot: An Error occured while validating 
> the file 'SLING-INF/content/slingshot/users/slingshot2/places/landing.json': 
> Trailing separator ',' in object. at character 302 of {
> [ERROR] "jcr:primaryType":"sling:OrderedFolder",
> [ERROR] "sling:resourceType":"slingshot/Item",
> [ERROR] "title":"Landing Place",
> [ERROR] "description":"Something happened here long time ago!",
> [ERROR] 
> [ERROR] comments : {
> [ERROR] "jcr:primaryType":"sling:OrderedFolder",
> [ERROR] "sling:resourceType":"slingshot/Comments",
> [ERROR] },
> [ERROR] ratings : {
> [ERROR] "jcr:primaryType":"sling:OrderedFolder",
> [ERROR] "sling:resourceType":"slingshot/Ratings",
> [ERROR] }
> [ERROR] }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to