Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8228

Expand Optional objects in the ObjectModel

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The HTL runtime currently treats java.util.Optional like regular objects, however it would help developers if these objects were actually expanded and their values, when present, checked against the methods provided by org.apache.sling.scripting.sightly.render.ObjectModel.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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