Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-539

Empty description of a booking method is diplayed wrong occasionally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0
    • Fix Version/s: 8.3.4
    • Component/s: Access Control
    • Labels:
      None

      Description

      In some cases the discription of booking method is displayed as "$confController.getLink().getOffer().getDescription()", possibly if the description is not an empty String, but a null value.

      The following code in accesscontrol/ui/_content/configuration_list.html fixes that
      #set($desc = $confController.getLink().getOffer().getDescription())
      #if ($desc)
      <tr class="$css b_access_desc">
      <td colspan="5">$desc</td>
      </tr>
      #end

        Figma for Jira By 42nd

          Attachments

            Activity

              People

              Assignee:
              srosse Stéphane Rossé
              Reporter:
              stephan Stephan Clemenz
              Tester:
              Florian Gnägi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m