VirtusLab-Open-Source / strapi-plugin-navigation

A plugin for Strapi Headless CMS that provides navigation / menu builder feature with their possibility to control the audience and different output structure renderers like (flat, tree and RFR - ready for handling by Redux First Router)
MIT License
308 stars 57 forks source link

Fix related entity title parsing bug #393

Closed ijlind closed 10 months ago

ijlind commented 10 months ago

Ticket

https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation/issues/350

Summary

Fixes #350. The content type title value was not pulled correctly from the contentTypeEntities-array. The reason was that the comparison against the related id failed because one of the values was a string and the other was a number.

Test Plan

@strapi/strapi 4.15.0 strapi-plugin-navigation 2.2.16

  1. Create or edit a navigation item
  2. Make sure that the title field is empty
  3. Select a related entity with a valid name field configuration
  4. Click the save button
  5. The navigation item is saved
ijlind commented 10 months ago

What is the current process with this project with releases? This fix would be really useful for our project in active development currently. If there are no issues found with this fix, how soon could we expect to see a release with this?