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

Nonexistent bean referenced in Forums Tool's JSF file.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.8.0, 2.9.0
    • Fix Version/s: 2.9.1
    • Component/s: Messages Tool
    • Labels:
      None
    • 2.9 Status:
      Resolved
    • Previous Issue Keys:
      MSGCNTR-767

      Description

      There is a typo in dfAllMessages.jsp referencing a nonexistent bean 'tForumTool'.

      $ grep -ir tForumTool discussionForum/message/dfAllMessages.jsp
      discussionForum/message/dfAllMessages.jsp: rendered="#

      {!empty ForumTool.selectedTopic.attachList || ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}"
      discussionForum/message/dfAllMessages.jsp: <h:outputText value=" #{msgs.cdfm_full_description}" rendered="#{ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}"/>
      discussionForum/message/dfAllMessages.jsp: <h:outputText value=" #{msgs.cdfm_and}" rendered="#{!empty ForumTool.selectedTopic.attachList && ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}"/>
      discussionForum/message/dfAllMessages.jsp: rendered="#{!empty ForumTool.selectedTopic.attachList || ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}

      "
      discussionForum/message/dfAllMessages.jsp: <h:outputText value=" #

      {msgs.cdfm_full_description}

      " rendered="#

      {ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}

      "/>
      discussionForum/message/dfAllMessages.jsp: <h:outputText value=" #

      {msgs.cdfm_and}

      " rendered="#

      {!empty ForumTool.selectedTopic.attachList && ForumTool.selectedTopic.topic.extendedDescription != '' && ForumTool.selectedTopic.topic.extendedDescription != null && tForumTool.selectedTopic.topic.extendedDescription != '<br/>'}

      "/>

      This code has been around since at least 2.7, and is still in the trunk. Apparently JSF does not throw an error if you reference a nonexistent bean.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  lydial@stanford.edu Lydia Li
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration