Menu ▾ ▴

#404 Post-Python 3: Submit NewPub doesn't redirect logged out users correctly

v1.0 (example)
open
nobody
None
5
2 days ago
2 days ago
Ahasuerus
No

Submit NewPub doesn't redirect logged out users correctly. Line 37 of edit/submitnewpub.py says:

submission.error('', 1)

which passes "1" as the publication type that the software will redirect the editor to after logging in. This is the old way of specifying publication types in URLs and no longer supported. The software should use 'new.pub_ctype' instead of '1'.

Discussion

Anonymous
Anonymous

Add attachments
Cancel