EasyCorp / EasyCorp/EasyAdminBundle

BooleanField suddenly reversed

Open
#6,018 16 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: important
Dominant language
PHP
Stars
4.3k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
11

Description

In the detail page of an entity within a CrudController, the booleanField is suddenly reversed since the update.

To Reproduce
I updated easycorp/easyadmin-bundle from (v4.7.7 => v4.8.4)

Make an CrudController for an entity and create a booleanField (Active for example).
Create the entity so its shown on the indexpage. Go to the detail page of the entity.

(OPTIONAL) Additional context
image (2)
image (1)

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

Start by reproducing the BooleanField behavior in a CrudController after upgrading EasyAdminBundle from v4.7.7 to v4.8.4, comparing the index and detail pages. Trace the detail-page rendering entry point and verify that the displayed boolean value matches the entity value and the index-page display.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
backend
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.