I worked for a company as a contractor for couple of years. They couldn't renew my contract because of financial reasons. Anyway just before I left a permanent member of staff who did the identical job to me resigned. My then boss told me that couldn't hire a new one because again financial reasons. He said though there might be something in couple of months time and he would drop a line. He praised my work a lot and even got me big contractor bonus.
In May they started to advertise the exact job the person left. I didn't get a line from my boss but applied anyway. A month later I got email that my skills didn't match the criteri. I thought this the case where hr does pre selection and I called them. They told me that the hiring person had made the desicion.
I am very upset because I did do very good work in many aspects and really liked to work there. The boss praised me very much.