Developer forum

Forum » Feature requests » Non friendly link in Navigation result DWAPI bug

Non friendly link in Navigation result DWAPI bug

Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Hello, I am working on a Vue frontend rewrite and I encountered an issue.
 

  1. I create a new page Baz
  2. I open the /dwapi/docs to make a request to the navigations endpoint
    1. This is my result
          {
            "PageId": 3051,
            "Name": "Baz",
            "Link": "Default.aspx?ID=3051&DIDNOTRESOLVE=TRUE&",
            "Level": 1,
            "IsClickable": true,
            "Nodes": []
          }
      
  3. I make the exact same request straight away
    1. This is my result
          {
            "PageId": 3051,
            "Name": "Baz",
            "Link": "/ellingsen/baz",
            "Level": 1,
            "IsClickable": true,
            "Nodes": []
          }

This is causing issues since I am using these links to build my client side router. I am currently using DW 9.10.5.

Regards.

Unnsteinn Garðarsson


Replies

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

A bit followup on this. The issue occurs whenever I create a page that contains icelandic letters, for example I create the page Börn and then the link becomes Default.aspx?ID=X&DIDNOTRESOLVE=TRUE& I can reload as often as I like but nothing changes, until I create another page, then it resolves to /ellingsen/boern and the new link will become Default.aspx?ID=Y&DIDNOTRESOLVE=TRUE& if it contains icelandic letters. This is probably some off by one bug when creating the links for the pages. Would be great to know if there are any plans to fix this.

 

Regards.

Unnsteinn Garðarsson

 
Rene Poulsen
Rene Poulsen
Reply

@Unnstein did the creation of a new page actually resolve the issue for you? I've got the exact same problem on another solution (running v. 9.4.20) and I've tried to create some new pages but nothing is solved.