Venkat Ganesh created SLING-5045:
------------------------------------
Summary: 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: Test
Components: Authentication
Affects Versions: Testing Sling Mock 1.5.0
Reporter: Venkat Ganesh
Priority: Trivial
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)