Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-6188

who_can_create_site mention and bad error message

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0.2
    • Component/s: Share Application
    • Labels:
      None
    • Environment:
      Debian Squeeze 64 bits

      Description

      After restricting who can create site, if a standard user try to create a site, the following message appears on the share interface:

      "Echec de la création du site"
      "Echec de la création du site car cette URL est déjà utilisée"

      Something like that in english:
      "Failed to create site"
      "Failed to crete this site because URL already in use"

      If I check the alfresco log file:

      11:22:27,646 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 02080005 Wrapped Exception (with status template): 02080124 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/sites.post.json.js': 02080123 Access refusé. Vous n'avez pas la permission de réaliser cette opération.
      org.springframework.extensions.webscripts.WebScriptException: 02080005 Wrapped Exception (with status template): 02080124 Failed to execute script 'classpath*:alfresco/templat es/webscripts/org/alfresco/repository/site/sites.post.json.js': 02080123 Access refusé. Vous n'avez pas la permission de réaliser cette opération.

      It seems to be more explicit in the alfresco.log file than in the Share interface: "Vous n'avez pas la permission de réaliser cette opération." (you don't have the permission to do this operation)

      Question: Could be it possible to redirect this message directly on the share interface ?

      Please for the full description see the following link (unfortunatelly in french...) : https://forums.alfresco.com/fr/viewtopic.php?f=25&t=5350

      Best regards

      Jean Berthold

        Attachments

          Activity

          Hide
          kroast Kevin Roast added a comment -

          Fixed in rev 35372

          Show
          kroast Kevin Roast added a comment - Fixed in rev 35372
          Hide
          kroast Kevin Roast added a comment -

          Merged to Community HEAD rev 35374

          Show
          kroast Kevin Roast added a comment - Merged to Community HEAD rev 35374
          Hide
          alfrescoqa Alfresco QA Team added a comment -

          Successfully validated against Alfresco Enterprise v.4.0.2 biuld 911, Tomcat (installer deployed), PostgreSQL, Java (installer deployed), Win7x64, FF 12.0.
          EugeneS

          Show
          alfrescoqa Alfresco QA Team added a comment - Successfully validated against Alfresco Enterprise v.4.0.2 biuld 911, Tomcat (installer deployed), PostgreSQL, Java (installer deployed), Win7x64, FF 12.0. EugeneS

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              jean Jean Berthold (Inactive)
              My watchers:
              Jean Berthold (Inactive), rdelalande
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m