Put the summary of the bug you're having here
What I expected to happen was...:
My button to open the door
What actually happened was...:
the door stayed open for one second, then immediately closed
Steps to Reproduce:
1. press button
2. open door
3. THE DOOR WILL CLOSE!!!!
Not a bug, Working as intended.
A stone button gives an impulse for 1.0 seconds, a wooden button for 1.5 seconds.
Read on here: http://www.minecraftwiki.net/wiki/Button