Placing a door on a block when there is a block above it will destroy the block, not dropping the destroyed block. For example, if I have dirt on the ground then above it is one block of air, then above the block of air is cobble, if I place a door where the block of air is it destroys the cobble.
Please do not place your entire description in the environment field. Place it in the description field.