Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31961

When creating a site from a template, the site info URL still points to the file in the template

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 12.2, 19.0
    • Component/s: Worksite Setup
    • Labels:
      None
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Create a new site that will be a template - click 'Create new site' from the sites menu and choose 'Build your own site' and 'project site'. When the site is created make the site a template site - from the Admin Workspace use the sites tool to go to the template site - click the Add/Edit property and add one with a name of template and value true.
      Add the site info URL to the template site - first add a file to the template site using the Resources tool. In the Resources tool click the 'Edit details' for the file you have added and click the 'Allow HTML files'. On the same page under File details copy the Web address (URL) of the file. Then go to the Overview tool of the template site. Click the Edit button on the RHS. Under 'Site Info URL' paste the URL that you have copied.

      Create a new site using the 'Create site from template' option and then under Project click the name of the template you created above. After the site has been created from the template go to it, click the Edit button on the RHS and check that the Site Info URL points to the file within the new site (by checking the site ID) rather than the template file.

      Do same test when copying a site.

      Show
      Create a new site that will be a template - click 'Create new site' from the sites menu and choose 'Build your own site' and 'project site'. When the site is created make the site a template site - from the Admin Workspace use the sites tool to go to the template site - click the Add/Edit property and add one with a name of template and value true. Add the site info URL to the template site - first add a file to the template site using the Resources tool. In the Resources tool click the 'Edit details' for the file you have added and click the 'Allow HTML files'. On the same page under File details copy the Web address (URL) of the file. Then go to the Overview tool of the template site. Click the Edit button on the RHS. Under 'Site Info URL' paste the URL that you have copied. Create a new site using the 'Create site from template' option and then under Project click the name of the template you created above. After the site has been created from the template go to it, click the Edit button on the RHS and check that the Site Info URL points to the file within the new site (by checking the site ID) rather than the template file. Do same test when copying a site.

      Description

      When creating a site from a template which has the Site Info URL pointing to a file in Resources, the site info URL on tghe newly created site still points to the file in the template. This will generally give a 404 access denied error as the owner of the new site doesnt have visit rights to the template.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rebeccam Rebecca Miller
                Reporter:
                adamm Adam Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code