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

Add method ModelFactory.createModelFromWrappedRequest(...)

    XMLWordPrintableJSON

Details

    Description

      Similar to ModelFactory.getModelFromWrappedRequest(...) there should be a ModelFactory.createModelFromWrappedRequest(...). The former relies on the adaptTo(...) pattern which does not emit any useful exception but just returns null in case of errors. The createModelFromWrappedRequest(...) should use the createModel(...) method internally and propagate any exceptions thrown from it.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              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 - 50m
                  50m