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

Youtube url isn't seen in student's preview in the same way than author's preview

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 10.6, 11.0
    • Component/s: Lessons
    • Labels:
      None
    • 10 status:
      Resolved
    • Previous Issue Keys:
      LSNBLDR-529

      Description

      When an author adds a youtube clip using Add Content -> Embed Content and fills in the url, he is able to see the clip on the preview page, but any student only is able to see a link "Open in new window".

      To reproduce this issue:

      • Set the following properties:
        lessonbuilder.basefolder=Lessons
        lessonbuilder.folder.hidden=true
      • Add a youtube clip
        The author is able to see the clip on the preview page, but any student only is able to see the clip clicking on the link "Open in new window".

      We think in both author's preview and student's preview, it should be seen the same preview page.

      We've solved this issue hidding the main content folder of Lessons but keeping the content accessible to students.
      SimplePageBean line 5425:
      -edit.setHidden();
      +edit.getPropertiesEdit().addProperty(ResourceProperties.PROP_HIDDEN_WITH_ACCESSIBLE_CONTENT, "true");

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hedrick Charles Hedrick
                  Reporter:
                  anueda Angel Nueda Lozano
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code