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

Avoid using nt:resource while creating file nodes via SlingPostServlet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Servlets
    • None

    Description

      Currently Sling uses nt:resource nodetype while creating file nodes in SlingFileUploadHandler and StreamedChunk.

      As discussed in OAK-4567 and also in best practices at [1] it would be better to avoid using a referenceable nodetype and instead use another nodetype like oak:Resource

      Mail thread on DL

      [1] https://adapt.to/2016/en/schedule/let_s-run-the-whole-web-on-apache-sling-and-oak-.html
      [2] http://markmail.org/thread/77xvjxtx42euhss4
      [3] http://markmail.org/thread/tnqbcegadnyaflw4

      Attachments

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              chetanm Chetan Mehrotra
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: