We experience a strange behaviour with 7.5 when we edit content. Users can see fields on the screen that the code is no longer listing nor there are any objects in the database (to the best of our knowledge) that have used these. We know that these fields were in the code in an earlier release and they have now been removed.
We used to have a block (Recent Posts) with three fields; these fields had the [Display...] attribute configured.
The site went live with this block but this block was never used. Afterwards, we developed a replacement block, removed the fields and introduced different fields that are not displayed.
The users now see the old fields prominently at the start of the editing page and it is becoming very confusing as to what are these for.
None of the blocks below nor their fields are part of the code any more, yet they appear even if we did not create any object.
Any recommendations on how to clear the database?
If you go to this page type definition in admin mode, do you see these blocks along with "Missing" in the last column?
Normally, when you do changes in code, they still exist in DB. This is actually a feature, since you might accidentally remove properties from code during development and delete them all.
Many thanks for the tip.
These show as 'Missing' indeed. After adding a name on each item and saving it, I go ahead and delete them.
The 'edit' pages now look much nicer.