Yes it the reaction works. Its rather common if you use acyl chlorides for amide formations. Its one of the reasons, they are not used for peptide bond formation because the ketene forms in some% and makes the chiral chloride racemize. It depends on the kind of base you are using AFAIK, (pyridine should be OK but TEA is strong enough to deprotonate the acyl chloride and form ketene. Or at least thats what Ive been told at class)
You are correct about TEA and strength of base, although it does work perfectly fine with TEA if the acyl chloride lacks α protons. You can avoid ketene formation through the use of anhydrous inorganic bases like K
3PO
4 (see Zhang
et al., Tetrahedron Lett., 2009, 50, 2964-2966). It can take a bit longer, but the work up is much nicer than when you use amine bases, and you don't get racemization. I also imagine the addition of a PTC such as 18-crown-6 would help it along nicely, though I can't vouch for that. Personally, I've always used pyridine in these sorts of reactions with a CuSO
4 work up as racemization isn't an issue for me. Works a treat.