[MNT-15798] CLONE - call to guessMimetype() on a node that has no content creates a content property Created: 04-Mar-16  Updated: 18-Jul-16  Resolved: 14-Mar-16

Status: Closed
Project: Service Packs and Hot Fixes
Component/s: ACS JavaScript API
Affects Version/s: 4.2.2
Fix Version/s: 4.2.6

Type: Service Pack Request
Reporter: Alex Madon [X] (Inactive) Assignee: Closed Bugs (Inactive)
Resolution: Fixed Votes: 0
Labels: rn511
Remaining Estimate: 0 minutes
Time Spent: 4 days, 4 hours, 15 minutes
Original Estimate: Not Specified

linux pg tomcat

Attachments: JPEG File content_test.jpg     File content_test.js     JPEG File create_node.jpg     File create_node.js     JPEG File no_content_test.jpg     File no_content_test.js    
Issue Links:
is clone of MNT-8678 call to guessMimetype() on a node tha... Closed
Depended on by MNT-15760 Inconsistent behavior on upload of z... Closed
Bug Priority:
Category 2
ACT Numbers:

00095295 Premier

Build Location: https://releases.alfresco.com/Enterprise-4.2/4.2.6/build-00084/


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.

Generated at Mon Mar 08 16:26:13 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.