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

Empty description of a booking method is diplayed wrong occasionally

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.0
    • 8.3.4
    • Access Control
    • 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

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            stephan Stephan Clemenz
            Florian Gnägi 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