apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

API view not loading - 特殊天 #3101

Closed kyyberi closed 6 years ago

kyyberi commented 6 years ago

Steps to Reproduce:

  1. go to page: https://apinf.io
  2. Scroll down to "Latest APIs"
  3. click topic of mysterious "Special day" API (screenshot below) screenshot at marraskuuta 06 20-10-29

Outcome:

On click, page goes to https://apinf.io/apis (the link in API card is also to https://apinf.io/apis)

Expected Behavior:

Environment:

Mac, FF (56.0.2), APInf production site (https://apinf.io)

kyyberi commented 6 years ago
screenshot at marraskuuta 07 09-33-45
kyyberi commented 6 years ago

This might be the answer or direction where to go

matleppa commented 6 years ago

I guess, that because the name of API is in Chinese, the management system has not been able to form a slug based on name. The link to API from API list consists of front page address + slug. So in this case only the front page address.

matleppa commented 6 years ago

A work-around: In API name there must be also latin characters.

In following example there are two APIs, one with name with no latin characters and another one with name partially latin characters.

chinese_api_name.PNG

When a slug for API is formed. the latin character part is used. In DB dump can be seen, that a slug is formed from latin part of API name.

Chinese_api_no_slug.PNG

kyyberi commented 6 years ago

Nice work around but not something we can require from clients :)