[5.x]: element index: money field currency abbr rendered twice
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
screenshot with currency abbr rendered twice:
https://share.cleanshot.com/834vYBnD
Steps to reproduce
- select money field to render in element source
Expected behavior
currency abbr rendered 1 (or 0 times)
Actual behavior
currency abbr rendered twice
Craft CMS version
5.8.21
PHP version
8.3.14
Operating system and version
Linux 5.15.0-126-generic
Database type and version
MariaDB 10.11.10
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
CKEditor
4.11.0
Dashboard Begone
3.0.0
Datastar
1.0.0-beta.9
Elements Panel
3.0.1
Empty Coalesce
5.0.0
Guest Entries
4.0.1
Knock Knock
3.0.5
Minify
5.0.0
Obfuscator
1.2.0
Typogrify
5.0.1
Vite
5.0.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a money field rendered in the element source on Craft CMS 5.8.21, then trace the element index rendering path for the duplicated currency abbreviation. Done means the currency abbreviation appears once or not at all, matching the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100