Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect is not properly configured #152

Open
GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments
Open

Redirect is not properly configured #152

GoogleCodeExporter opened this issue Apr 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 25 Nov 2014 at 12:32

@GoogleCodeExporter
Copy link
Author

The URL path element "bulkfsimport" doesn't exist in the bulk import tool.  Are 
you sure you're using this tool?

Original comment by [email protected] on 25 Nov 2014 at 9:09

  • Changed state: NeedMoreInfo

@GoogleCodeExporter
Copy link
Author

in my description path is wrong.
Right path is "share/proxy/alfresco/bulk/import/filesystem/initiate", but the 
issue is correct.

Original comment by [email protected] on 26 Nov 2014 at 2:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant