Grid pagination 404 when url_prefix set
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Reproduce the issue with py4web setup apps and py4web run apps --port 9765 --url_prefix=/test, then open the stated showcase grid URL and click a page number. Trace the pagination link generation used by example_html_grid/select; done means the link contains /test only once and pagination no longer returns 404.
Written by the indexing model from the issue text.
Description
py4web==1.20250330.2
py4web setup apps # install showcase
py4web run apps --port 9765 --url_prefix=/test
Open http://127.0.0.1:9765/test/showcase/example_html_grid/select
Click page number button at bottom e.g. "1" of table gives a 404 Not Found error as the link contains the url_prefix twice:-
http://127.0.0.1:9765/test/test/showcase/example_html_grid/select?page=1
- Dominant language
- HTML
- Stars
- 319
- Forks
- 144
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from web2py/py4web
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 86/100