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

Forums, GB: stacktrace {ForumTool.permissions}' Error reading [permissions] and rubrics console error

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • Test Plan:
      Hide
      1. In a site with Gradebook and Forums tools, open the browser console
      2. Also open the "tail" log for the appropriate server: http://nightly2.sakaiproject.org/
      3. Create a GB item 
      4. Click Forums
      5. Click New Topic under the Default Forum
      6. Verify you see roles listed under the Permissions drop-down

      Are there any console errors? Is there a stacktrace in the "tail" logs?

      Show
      In a site with Gradebook and Forums tools, open the browser console Also open the "tail" log for the appropriate server:  http://nightly2.sakaiproject.org/ Create a GB item  Click Forums Click New Topic under the Default Forum Verify you see roles listed under the Permissions drop-down Are there any console errors? Is there a stacktrace in the "tail" logs?

      Description

      Was attempting to test SAK-33703, I had a rubric in the site used for a different test (a different GB item), but hadn't even gotten to creating the new topic.  This is not a problem on 20x.

      https://trunk-mysql.nightly.sakaiproject.org/portal/site/de487afb-3816-4773-be1d-187bb9c06d56

      I then created a new site, with no rubrics in the site, added a GB item, clicked on Forums - > New topic and also saw the same errors and stacktrace.

      As soon as I clicked New Topic, both of these errors displayed in the console for Chrome and Edge. In Firefox I saw the rubrics error in the console and the stacktrace displayed inside the "new topic":

      21:05:59.992 VM2350 jsf.js.jsf:1 GET https://trunk-mysql.nightly.sakaiproject.org/portal/site/de487afb-3816-4773-be1d-187bb9c06d56/tool/59f50eaf-c6bf-46d3-95fe-894d38924b95/dfReviseTopicSettingsAttach 500
      jsfcljs @ VM2350 jsf.js.jsf:1
      onclick @ dfForums:953

      21:06:01.243 rubrics-element.js?version=c0414452:16 Rubrics Utils has not been loaded (sakai-rubrics-utils.js). THINGS WILL BREAK!
      isUtilsAvailable @ rubrics-element.js?version=c0414452:16
      initLightbox @ rubrics-element.js?version=c0414452:23
      (anonymous) @ sakai-rubric-association.js?version=c0414452:23
      Promise.then (async)
      set token @ sakai-rubric-association.js?version=c0414452:23
      _attributeToProperty @ updating-element.ts:623
      attributeChangedCallback @ updating-element.ts:573
      attributeChangedCallback @ sakai-rubric-association.js?version=c0414452:52
      (anonymous) @ sakai-rubric-association.js?version=c0414452:196

      From the stacktrace:

      Caused by: org.apache.jasper.el.JspELException: /jsp/discussionForum/permissions/permissions_include.jsp(33,2) '#{ForumTool.permissions}' Error reading [permissions] on type [org.sakaiproject.tool.messageforums.DiscussionForumTool]

      Clicking Template Settings:

      VM3141 jsf.js.jsf:1 GET https://trunk-mysql.nightly.sakaiproject.org/portal/site/7fe0e7fd-f096-483b-90e7-384821781e06/tool/2cc9d050-85c4-4b45-81bd-afe4c7a16ceb/discussionForum/area/dfTemplateSettings 500
      jsfcljs @ VM3141 jsf.js.jsf:1
      onclick @ dfForums:807

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bergarvi Bernardo Garcia Vila
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration