Entity saved with autosaved data is not respected

Created on 2 May 2025, 10 days ago

Overview

When we have an entity saved in the DB with the result 'Experience Builder,' and then create another entity named 'Untitled Page' and change its title to 'Experience Builder' without publishing it, and perform a search for 'Experience Builder,' we get both results, which is correct. However, when we search for 'Untitled Page,' we only get one result, which should not be the case.

Proposed resolution

change the logic in ApiContentControllers.php in list() method to cover this scenario.

🐛 Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

🇮🇳India deepakkm

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

Comments & Activities

  • Issue created by @deepakkm
  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    The title is very ambiguous. Tried to clarify it. Can you confirm it is correct?

    However, when we search for 'Untitled Page,' we only get one result, which should not be the case.

    Your wording implies there should be >1 result, but AFAICT there should be 0?

  • 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

    Plus, as @larowlan argued: why is this even a bug? Isn't this a feature?

  • 🇮🇳India deepakkm

    Yes the result count should be 0 in this scenario thats what i meant by saying "However, when we search for 'Untitled Page,' we only get one result, which should not be the case."

Production build 0.71.5 2024