Bug #1671
If book contains & in the title, search bar does not load
100%
Description
Search bar does not load for https://edutestdev-240612.appspot.com/document/python-3*/python?documentURL=10015%2Fprd%2F3%2Flibrary%2Flogging.handlers-BaseRotatingHandler-699.html.
Diagnosis: This is happening because of & present in one of the book names. We handled this scenario previously for the backend at the time of deletion, this is the ticket http://34.67.50.25/issues/1427
Now, we have to add the implementation in the frontend as well
Updated by Ayush Khandelwal about 3 years ago
- Due date set to 09/27/2021
- Start date changed from 09/20/2021 to 09/24/2021
- Estimated time set to 1.00 h
Updated by Ayush Khandelwal about 3 years ago
One of the possible solutions is to encode the & i.e. with %26.
Updated by Ayush Khandelwal about 3 years ago
- Assignee changed from Ayush Khandelwal to Rishabh Sharma
Updated by Rishabh Sharma about 3 years ago
- % Done changed from 0 to 50
The link is not loading after fixing & problem.
this is the link before fixing
https://edutestdev-240612.appspot.com/document/extending*/python?documentURL=10015%2Fprd%2F3%2Flibrary%2Flogging.handlers-BaseRotatingHandler-699.html
this is working after fixing
http://localhost:4200/document/extending*/python?documentURL=10015%2Fprd%2F3%2Flibrary%2Flogging.handlers-BaseRotatingHandler-699.html
This is because three other books are creating problem.
[
{
"name": "The Python Language - 3.8: Tutorial(25-1)",
"id": "dev-sv2312-test-1",
"bookId": "39f3a04c-39a6-48c9-bfaa-57b6ef0546d2",
"slug": "the-python-language---3.8-tutorial(25-1)",
"baseUrl": "0002/sv2112/3.8/tutorial/"
},
{
"name": "Python 3.8: C API",
"id": "python3.8-capi-rk24dec20",
"bookId": "4cff3c70-fdc8-41df-8a2d-a54b8af19fcd",
"slug": "python-3.8-c-api(2020-12-23-204423.710604)",
"baseUrl": "10082/rk24dec20/3.8/c-api/"
},
{
"name": "Python 3.9: C API Reference (v2)",
"id": "dev-rk-rk01mar21-python3.9-capireference(v2)",
"bookId": "d2748a46-38c0-4cdd-b243-94677f42f4de",
"slug": "python-3.9-c-api-reference-(v2)",
"baseUrl": "10111/rk01mar21/3.9/c-api/"
}
]
The resource they are requesting are having some problem (check in postman)-
https://edutestdev-240612.appspot.com/admin/content/api/v1/search?searchTerm=python&indexName=python3.8-capi-rk24dec20
https://edutestdev-240612.appspot.com/admin/content/api/v1/search?searchTerm=python&indexName=dev-sv2312-test-1
https://edutestdev-240612.appspot.com/admin/content/api/v1/search?searchTerm=python&indexName=dev-rk-rk01mar21-python3.9-capireference(v2)
The response to the avove three links is-{
"autocomplete": null,
"skipStep": true
}
here autocomplete is an array , either it should be empty [] or should have some value. It should not be null.
So the conclusion is either the resource url , they are requesting have some error in url (like in Python 3: Extending & Embedding-PL-2021-08-17 18:31:07.292903-SPL) or response is not correct.
Updated by Rishabh Sharma about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 50 to 100
Updated by Rishabh Sharma about 3 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Rishabh Sharma to Ayush Khandelwal
Updated by Ayush Khandelwal about 2 years ago
- Assignee changed from Ayush Khandelwal to Ram Kordale