← Back to team overview

mahara-contributors team mailing list archive

[Bug 1356638] Re: Can not see the image in the static page "Home" for logged-in users

 

URL :https://bugs.launchpad.net/mahara/+bug/1356638

Bug description:Can not see the image in the static page ‘Home’ for
logged-in users.

Environment to be tested: Master
Browser to be tested: Chrome, Firefox, Safari, IE  (Latest version) 

Precondition: 
1. A user ‘Admin’ with ‘Site admin’ privileges should be set up.
2. The institution 'Institution One' should be set up.
3. A normal user ‘User one’ and an institution admin ‘Inst admin’ should be set up.

Steps to reproduce:

1. Login as a ‘Admin’.
2. Navigate to Administration menu > Configure site > Files.
3. Click the ‘Browse’ button and upload an image. Do not add the image to the folder ‘public’.
4. Navigate to Administration menu > Configure site > Static pages.
5. Select ‘Home (Dashboard)’ from the ‘Page name’ drop down.
6. Click the ‘Insert/edit image’ icon from the menu bar under ‘Page text’.
7. Click the ‘Image’ panel.
8. Select the ‘Site files’ tab.
9. Select the image you uploaded in step 3.
10. Click the ‘Save changes’ button.
11. Navigate to the homepage.

Expected result: You should see the image as part of the text, and the
text with the image shall not overlap the side blocks or the blocks
below the text.

12. Log out of ‘Admin’ user.
13. Login as ‘User one’.

Expected result: You should see the image as part of the text, and the
text with the image shall not overlap the side blocks or the blocks
below the text.

14. Login as ‘Inst admin’.
15. Navigate to Administration menu > Institutions > Files
16. Click the ‘Browse’ button and upload an image. Make sure the image file is different from step 3.
17. Navigate to Administration menu > Institutions > Static pages.
18. Switch ‘Use site default’ to ‘No’.
19. Click the ‘Insert/edit image’ icon from the menu7 bar under ‘Page text’.
21. Click the ‘Image’ panel.
22. Select the ‘Institution files’ tab.
23. Select one of the image and click the ‘Submit’ button.
24. Click the ‘Save changes’ button.
25. Navigate to the homepage.

Expected result: You should see the image as part of the text, and the
text with the image shall not overlap the side blocks or the blocks
below the text.

24. Log out as ‘Inst admin’ user.
25. Log in as ‘User one’.
 
Expected result: You should see the image as part of the text, and the text with the image shall not overlap the side blocks or the blocks below the text.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1356638

Title:
  Can not see the image in the static page "Home" for logged-in users

Status in Mahara:
  In Progress

Bug description:
  Version: master(1.10), 1.9, 1.8
  Platform: any
  Browser: any

  Steps to reproduce the issue

  1. Login as a site admin, add a site image file out of the 'public' folder
  2. Add the image into the static page Home (Dashboard)
  3. Logout and login as a normal user

  Expected result: the image should display in my dashboard
  Actual result: the image is not accessible

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1356638/+subscriptions


References