Next.js: Dynamic link vars not be interpolated on latest canary version

Created on 3 Jul 2020  路  8Comments  路  Source: vercel/next.js

Bug report

Describe the bug

https://github.com/vercel/next.js/discussions/14822

happy to report that is is working fine on 9.4.4 - but after seeing if I could reproduce on a next.js/examples paired down repo with the latest canary next.js - it was reproducible. (this could be a functionality changing that I haven't caught in the docs) - but it feels like a bug to me

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. https://github.com/followbl/dynamic-routing
  2. Deploy to Vercel
  3. Click any post
  4. Click any comment
  5. View Logs on Vercel
    Screen Shot 2020-07-03 at 2 16 05 PM

Expected behavior

Expect the getServerSideProps context - instead they are provided as is in square brackets

System information

  • Version of Next.js: [9.4.5-canary.28]
bug 2

Most helpful comment

@Timer @ijjk deployed and it's working as expected. thanks

All 8 comments

Fixed via https://github.com/vercel/vercel/pull/4778 (soon to be released)

Hi, @followbl thanks for the report, the fix should be available on stable and canary releases of @vercel/next now

@followbl to try the fix, you'll need to re-deploy your application!

@ijjk @Timer 馃敟

Please let us know if it works! 馃檹

Will close this given @followbl's comment

@Timer @ijjk deployed and it's working as expected. thanks

Thanks for confirming @followbl 馃檹

Was this page helpful?
0 / 5 - 0 ratings

Related issues

formula349 picture formula349  路  3Comments

rauchg picture rauchg  路  3Comments

irrigator picture irrigator  路  3Comments

havefive picture havefive  路  3Comments

YarivGilad picture YarivGilad  路  3Comments