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

Error 'Unexpected response from server' when opening a workspace in Workspace Browser #508

Open
fisuda opened this issue Jun 26, 2021 · 0 comments

Comments

@fisuda
Copy link
Contributor

fisuda commented Jun 26, 2021

I encountered the 'Unexpected response from server' error when opening a workspace in the Workspace Browser. This is because the workspace has an empty name. The name of the workspace structure will be empty when renaming a workspace name to a name that consists only of multibyte characters.

GET /api/workspace/32

{
  "id": "32",
  "name": "",
  "title": "\uff37\uff49\uff52\uff45\uff23\uff4c\uff4f\uff55\uff44",
  "public": false,
  "shared": false,
  "requireauth": false,
  "owner": "admin",
  "removable": true,
  "lastmodified": 1624743022724,
  "description": "",
  "longdescription": "",

   ...ETC...

}
  • How to reproduce

You can reproduce this issue by renaming a workspace name to WireCloud.

  • Similar issue

The name of the tab structure will be empty when renaming a tab name to a name that consists only of multibyte characters.

curl -sS http://wirecloud/api/workspace/32 | jq '.tabs | map({id: .id, name: .name, title: .title})'
[
  {
    "id": "35",
    "name": "タブ",
    "title": "タブ"
  },
  {
    "id": "37",
    "name": "2",
    "title": "WireCloud2"
  },
  {
    "id": "38",
    "name": "3",
    "title": "WireCloud3"
  },
  {
    "id": "39",
    "name": "",
    "title": "WireCloud"
  }
]
  • Environment

WireCloud version

{
  "ApplicationMashup": "2.2",
  "ComponentManagement": "1.0",
  "DashboardManagement": "1.0",
  "FIWARE": "7.7.1",
  "FullscreenWidget": "0.5",
  "NGSI": "1.4.0rc1",
  "ObjectStorage": "0.5",
  "StyledElements": "0.11.0",
  "Wirecloud": "1.4.0a1"
}

Google Chrome 91.0.4472.114

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

No branches or pull requests

1 participant