wintercms / wintercms/winter

Folders can be inserted via the mediafinder

Open
#1,334 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.5k
Forks
246
Avg merge
19h 2m
Merged PRs (30d)
7

Description

Winter CMS Build

dev-develop

PHP Version

8.4

Database engine

MySQL/MariaDB

Plugins installed

No response

Issue description

When using the mediafinder, the user can highlight a folder and then click insert, which adds a folder path and shows no image.

This issue was brought to life by my Grandfarther who got very confused why the box disappeared but no image showed up.

Not 100% sure if this is desired functionality or not, or if we should put in a option to support it, i.e. folderSelectable: true.

Steps to replicate
  • Use form with media finder
  • Select folder
  • Click insert
Workaround

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce this in a form using the media finder: select a folder and click Insert. Check the resulting field value and display behavior, then determine the expected handling for folder selection, including whether folder selection should be supported as an option. Done means the behavior is explicitly defined and the reproduction no longer produces an empty image result.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.