Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15798

CLONE - call to guessMimetype() on a node that has no content creates a content property

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.2.6
    • Component/s: ACS JavaScript API
    • Labels:
    • Environment:
      linux pg tomcat

      Description

      Revert the change done in MNT-8678, it changed the REST API and caused a series of regressions.
      The revert will also impact 4.2.5, 5.0.2, 5.0.3 and 5.1.

      Also re-fix the original issue in MNT-8678 - guessMimetype() should not create the content property if it doesn't exist.

        Attachments

        1. content_test.jpg
          content_test.jpg
          69 kB
        2. content_test.js
          0.3 kB
        3. create_node.jpg
          create_node.jpg
          53 kB
        4. create_node.js
          0.2 kB
        5. no_content_test.jpg
          no_content_test.jpg
          51 kB
        6. no_content_test.js
          0.3 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  amadon Alex Madon [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 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 - 4 days, 4 hours, 15 minutes
                    4d 4h 15m

                      Structure Helper Panel