When I use /setblock to place a sapling on a block that is not a dirt block (such as stone, wood, etc.), it still grows, and it replaces the block with a dirt block when the sapling becomes a tree. This is annoying for map making when you want to create a decoration with sapling. This bug wasn't present in 1.17.1.
Thank you for your report!
We're tracking this issue in MC-239082, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wikie