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

multi file upload does not seem to work #27

Open
danilos opened this issue Jun 15, 2013 · 2 comments
Open

multi file upload does not seem to work #27

danilos opened this issue Jun 15, 2013 · 2 comments

Comments

@danilos
Copy link
Collaborator

danilos commented Jun 15, 2013

Start authenticationDirective application.js:12
GET https://localhost:8443/es-dms-site/login.jsp;JSESSIONID=acb04342-ef03-4ebf-ab25-3e43ead1a137 404 (Not Found) angular.min.js:99
(anonymous function) angular.min.js:99
l angular.min.js:95
m angular.min.js:94
g.(anonymous function) angular-resource.min.js:8
find application.js:102
init controllers.js:157
(anonymous function) controllers.js:153
d angular.min.js:28
instantiate angular.min.js:28
(anonymous function) angular.min.js:52
k angular.min.js:150
e.$broadcast angular.min.js:90
(anonymous function) angular.min.js:82
h angular.min.js:77
h angular.min.js:77
(anonymous function) angular.min.js:78
e.$eval angular.min.js:88
e.$digest angular.min.js:86
e.$apply angular.min.js:88
e angular.min.js:94
o angular.min.js:98
s.onreadystatechange angular.min.js:99
loginController - login controllers.js:176
data: [object Object] controllers.js:178
8836bf57-7178-4e58-8a5f-d661a753857d controllers.js:184
GET https://localhost:8443/es-dms-site/api/documents/upload 405 (Method Not Allowed) angular.min.js:99
Uncaught TypeError: undefined is not a function jquery.fileupload-resize.js:121
$.widget.processActions.loadImage jquery.fileupload-resize.js:121
func jquery.fileupload-process.js:74
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
(anonymous function) jquery.fileupload-process.js:80
b.extend.each jquery-1.9.1.min.js:3
$.widget._processFile jquery.fileupload-process.js:72
(anonymous function) jquery.ui.widget.js:105
func jquery.fileupload-process.js:133
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
(anonymous function) jquery.fileupload-process.js:137
b.extend.each jquery-1.9.1.min.js:3
$.widget.process jquery.fileupload-process.js:130
(anonymous function) jquery.ui.widget.js:105
(anonymous function) jquery.ui.widget.js:197
b.extend.each jquery-1.9.1.min.js:3
b.fn.b.each jquery-1.9.1.min.js:3
$.fn.(anonymous function) jquery.ui.widget.js:187
$scope.process jquery.fileupload-angular.js:218
data.process.always.file jquery.fileupload-angular.js:56
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
data.process jquery.fileupload.js:580
$config.defaults.add jquery.fileupload-angular.js:55
$.Widget._trigger jquery.ui.widget.js:489
(anonymous function) jquery.fileupload.js:909
b.extend.each jquery-1.9.1.min.js:3
$.widget._onAdd jquery.fileupload.js:902
(anonymous function) jquery.ui.widget.js:105
(anonymous function) jquery.fileupload.js:1079
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
r.always jquery-1.9.1.min.js:3
$.widget._onChange jquery.fileupload.js:1073
(anonymous function) jquery.ui.widget.js:105
handlerProxy jquery.ui.widget.js:406
b.event.dispatch jquery-1.9.1.min.js:3
v.handle jquery-1.9.1.min.js:3
uploadComplete - true controllers.js:289
uploadComplete Please wait... - false controllers.js:289
multifile-upload

@richardwilly98
Copy link
Owner

It seems that you are not authenticated anymore.

Shiro tries to redirect to login.jsp which does not exist.

The piece missing here is that Shiro should just response http 401 then angularjs will handle correctly and show the login form.

Ciao,
Richard.

Sent via BlackBerry by AT&T

-----Original Message-----
From: danilos notifications@github.com
Date: Sat, 15 Jun 2013 14:12:04
To: richardwilly98/es-dmses-dms@noreply.github.com
Reply-To: richardwilly98/es-dms reply@reply.github.com
Subject: [es-dms] multi file upload does not seem to work (#27)

Start authenticationDirective application.js:12
GET https://localhost:8443/es-dms-site/login.jsp;JSESSIONID=acb04342-ef03-4ebf-ab25-3e43ead1a137 404 (Not Found) angular.min.js:99
(anonymous function) angular.min.js:99
l angular.min.js:95
m angular.min.js:94
g.(anonymous function) angular-resource.min.js:8
find application.js:102
init controllers.js:157
(anonymous function) controllers.js:153
d angular.min.js:28
instantiate angular.min.js:28
(anonymous function) angular.min.js:52
k angular.min.js:150
e.$broadcast angular.min.js:90
(anonymous function) angular.min.js:82
h angular.min.js:77
h angular.min.js:77
(anonymous function) angular.min.js:78
e.$eval angular.min.js:88
e.$digest angular.min.js:86
e.$apply angular.min.js:88
e angular.min.js:94
o angular.min.js:98
s.onreadystatechange angular.min.js:99
loginController - login controllers.js:176
data: [object Object] controllers.js:178
8836bf57-7178-4e58-8a5f-d661a753857d controllers.js:184
GET https://localhost:8443/es-dms-site/api/documents/upload 405 (Method Not Allowed) angular.min.js:99
Uncaught TypeError: undefined is not a function jquery.fileupload-resize.js:121
$.widget.processActions.loadImage jquery.fileupload-resize.js:121
func jquery.fileupload-process.js:74
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
(anonymous function) jquery.fileupload-process.js:80
b.extend.each jquery-1.9.1.min.js:3
$.widget._processFile jquery.fileupload-process.js:72
(anonymous function) jquery.ui.widget.js:105
func jquery.fileupload-process.js:133
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
(anonymous function) jquery.fileupload-process.js:137
b.extend.each jquery-1.9.1.min.js:3
$.widget.process jquery.fileupload-process.js:130
(anonymous function) jquery.ui.widget.js:105
(anonymous function) jquery.ui.widget.js:197
b.extend.each jquery-1.9.1.min.js:3
b.fn.b.each jquery-1.9.1.min.js:3
$.fn.(anonymous function) jquery.ui.widget.js:187
$scope.process jquery.fileupload-angular.js:218
data.process.always.file jquery.fileupload-angular.js:56
(anonymous function) jquery-1.9.1.min.js:3
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.each jquery-1.9.1.min.js:3
(anonymous function) jquery-1.9.1.min.js:3
b.extend.Deferred jquery-1.9.1.min.js:3
r.then jquery-1.9.1.min.js:3
data.process jquery.fileupload.js:580
$config.defaults.add jquery.fileupload-angular.js:55
$.Widget._trigger jquery.ui.widget.js:489
(anonymous function) jquery.fileupload.js:909
b.extend.each jquery-1.9.1.min.js:3
$.widget._onAdd jquery.fileupload.js:902
(anonymous function) jquery.ui.widget.js:105
(anonymous function) jquery.fileupload.js:1079
c jquery-1.9.1.min.js:3
p.add jquery-1.9.1.min.js:3
r.always jquery-1.9.1.min.js:3
$.widget._onChange jquery.fileupload.js:1073
(anonymous function) jquery.ui.widget.js:105
handlerProxy jquery.ui.widget.js:406
b.event.dispatch jquery-1.9.1.min.js:3
v.handle jquery-1.9.1.min.js:3
uploadComplete - true controllers.js:289
uploadComplete Please wait... - false controllers.js:289
multifile-upload


Reply to this email directly or view it on GitHub:
#27

@richardwilly98
Copy link
Owner

@danilos
Can you please test with the latest version?

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

2 participants