The Bug
Light enters through the composter.
Steps to Reproduce
Summon a box of dirt around yourself, so that your surroundings are completely dark.
/fill ~-2 ~-1 ~-2 ~2 ~3 ~2 minecraft:dirt hollow
Summon a composter on one of the sides of the dirt box and pay close attention as to whether or not the light levels in the box changes.
/setblock ~2 ~1 ~ minecraft:composter
Take note as to whether or not light can pass through the side faces of composters.
Observed Behavior
Light can pass through the side faces of composters.
Expected Behavior
Light would not be able to pass through the side faces of composters.
Linked issues
relates to
Attachments
Comments
The problem is still present in version 1.16.5
Can confirm in 21w06a.
Can confirm in 1.17.
Can confirm in 1.17.1.

Can confirm in 21w37a.
Can confirm in 21w42a. Here are some extra details regarding this problem.
The Bug:
Light can pass through the side faces of composters.
Steps to Reproduce:
Summon a box of dirt around yourself, so that your surroundings are completely dark.
/fill ~-2 ~-1 ~-2 ~2 ~3 ~2 minecraft:dirt hollow
Summon a composter on one of the sides of the dirt box and pay close attention as to whether or not the light levels in the box changes.
/setblock ~2 ~1 ~ minecraft:composter
Take note as to whether or not light can pass through the side faces of composters.
Observed Behavior:
Light can pass through the side faces of composters.
Expected Behavior:
Light would not be able to pass through the side faces of composters.

Can confirm in 21w44a.
Can confirm in 1.18.
Can confirm in 1.18.2 and 22w16b.
Can confirm in 1.19.
Can confirm in 1.19.2.

Can confirm in 1.19.4

Can confirm in 23w45a
Can confirm in 20w49a.