Skip to content

Redirect is not properly configured #152

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions