Fix upload component failure when working together with Alfresco RM