Fix handling of symlinked recipes

Created on 23 February 2025, about 1 month ago

Problem/Motivation

Project Browser does not look in the actual recipes folder if the first recipe directory is a symlink. Instead, it looks in the parent folder of the recipe's real path.

Steps to reproduce

  1. Symlink recipes from different locations into the recipes folder.
  2. Spin up a fresh site. (This is necessary because I have not found a way to clear the recipes cache.)
  3. Check the recipes page.
  4. Observe that only recipes from a single location are displayed.

Proposed resolution

Use realpath() on the parent folder instead of the recipe folder.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States darren oh Lakeland, Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024