Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5045

The new 'test' user is not able to access slingshot page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Samples
    • Labels:

      Description

      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] }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vganesh Venkat Ganesh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: