November Happy Hour will be moved to Thursday December 5th.

Legacy fields still appear on Content tab

Vote:
 

Hello,

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?

Many thanks

Old Fields

#119082
Mar 20, 2015 11:52
Vote:
 

Hi, Yannis, 

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.

#119090
Mar 20, 2015 13:25
Vote:
 

Hi Marija,

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.

Thank you.

#119091
Mar 20, 2015 14:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.