-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In "BulkFilesystemImportWebScript.java", at the end of web script, i see this
code:
// If successful, redirect to the status Web Script
status.setCode(Status.STATUS_MOVED_TEMPORARILY);
status.setRedirect(true);
status.setLocation(request.getServiceContextPath() +
WEB_SCRIPT_URI_BULK_FILESYSTEM_IMPORT_STATUS);
I have two considerations:
1) if a call from share: "/share/proxy/alfresco/bulkfsimport/initiate" with
ajax request, i have a 302 redirect on "/alfresco/s/bulkfsimport/status", but i
not logged on alfresco! In my opinion, redirect should be done on same
"context" of original request (in this case,
"/share/proxy/alfresco/bulkfsimport/status")
2) in some case, i don't need to redirect to status ws. For example, in my
project, i want call "initiate" with ajax and after i want call "status.xml"
with ajax. i don't need redirect. I propose a parameter to disable redirect.
Original issue reported on code.google.com by federico...@gmail.com
on 25 Nov 2014 at 12:32