This is actually a serious problem among gifted children. They are told they are smart for most of their lives while the work is very easy. Once work gets difficult for them, they start to think "this is different, it's HARD. Crap, maybe I'm not smart after all".
The linked NY Magazine article covers this concept nicely.
I remember the only time in school (5-16) I actually enjoyed it - instead of learning from the board, we had a year where the maths lessons were all taught from little booklets each with 10-20 pages, with a number of different subjects - about a third of the books were "core/basic" that everyone had to do by the end of the year, the rest you could move onto if you could pass the mini tests you could ask for once you had read it.
Everyone got to go at their own pace, the teacher just handed out and marked tests and answered questions as needed or helped out those most in need to get the basics covered.
If you praise a child who is actually smart, for being smart, then things will work a lot better.
I understand the goal of this study was to see if increasing self esteem can help. But don't extrapolate that to also assuming that praising a child for things that really are praise worthy (including being smart) is bad.
The result of the study should be: don't lie in your praise.