Still happens in 1.8.8
Have you tried to change the version in the profil editor ?
It works If I inverse the two commands that setblock...
(See video to know what commands)
But I still think it should be fixed
When putting as a Cross
Found it, Minecraft was using Java 6 instead of 7, so I use this command in the terminal to open it
java -d64 -Xmx1024M -jar /Applications/Minecraft.app/Contents/Resources/Java/Bootstrap.jar
EDIT: You don't have to use in Terminal, just save the command as a Minecraft.command
I do have Java 7 (Look at this Pic http://image.noelshack.com/fichiers/2014/32/1407424750-pic-java-7.png)
Ok, this definitely is a bug, but a friend told me that you can at least use the tag {Inventory:[{id:minecraft:elytra,Slot:102]} should work when testing for it (/testfor, /scoreboard...)
But that still doesn't solve the problem for replace item...