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

Delete the last data in the last page will lead to 404 page. #573

Open
Loner233 opened this issue Feb 21, 2020 · 5 comments
Open

Delete the last data in the last page will lead to 404 page. #573

Loner233 opened this issue Feb 21, 2020 · 5 comments

Comments

@Loner233
Copy link

@Loner233 Loner233 commented Feb 21, 2020

How to reproduce the behaviour

This is not a big defect, but it should be easily fixed.
I uploaded a lot of data in dataset page, started to delete all data from back. When I deleted the only last data in the last page, it lead me to the 404 page. It can be more friendly if return the page before the last page when I delete the last data in the last page.

Your Environment

  • Operating System: Archlinux
  • Python Version Used: not sure which version the python is in the docker container.
  • When you install doccano: Now
  • How did you install doccano (Heroku button etc): docker
@icoxfog417 icoxfog417 added the bug label Feb 21, 2020
@Hironsan Hironsan added the v0.x label Feb 25, 2020
@tusharmakkar08
Copy link
Contributor

@tusharmakkar08 tusharmakkar08 commented Apr 7, 2020

@Hironsan @icoxfog417 @Loner233 : I am unable to replicate this bug. Can you please verify if this still exists?

@Loner233
Copy link
Author

@Loner233 Loner233 commented Apr 8, 2020

@tusharmakkar08 Yes, It still exists.

Like this, I have the only one data in the last page.
2020-04-08 17-00-20屏幕截图

When I delete the data, It leads me to the 404 page if the debug == True.
2020-04-08 17-00-35屏幕截图

@tusharmakkar08
Copy link
Contributor

@tusharmakkar08 tusharmakkar08 commented Apr 8, 2020

Hey @Loner233

Are you on the latest version of doccano? For me the link which is in your screenshot doesn't exist and interface also looks a lot different.

Screenshot 2020-04-08 at 2 38 55 PM

Screenshot 2020-04-08 at 2 39 06 PM

@Loner233
Copy link
Author

@Loner233 Loner233 commented Apr 10, 2020

@tusharmakkar08 I pull from docker repository directly by docker pull doccano/doccano, not sure whether it is the latest verison doccano, but it should be the latest one in docker repository.

@tusharmakkar08
Copy link
Contributor

@tusharmakkar08 tusharmakkar08 commented Apr 10, 2020

@icoxfog417 @Hironsan Is the version present in dockerhub the latest one? I doubt so because the issue isn't coming in the latest master build.

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.