Bug introduced in 8 or earlier and fixed in 12.2
I wish to compute the Fourier transform related to the Dawson function:
FourierTransform[1/u DawsonF[1/u], u, x]
This gives Hypergeometric functions.
(1/2 \[Pi]^(3/2)
HypergeometricPFQ[{}, {1/2, 1}, x^2/4] - \[Pi] Abs[
x] HypergeometricPFQ[{}, {3/2, 3/2}, x^2/4])/Sqrt[2 \[Pi]]
However, the Dawson integral can also be written using Erfi:
$$D(x) = \frac{\sqrt{\pi}}{2}e^{-x^2}Erfi(x)$$
So the same solution should be obtained using
FourierTransform[1/u Sqrt[Pi]/2 Exp[-1/u^2] Erfi[1/u], u, x]
This gives a MeijerG function, which has the same real part, but an additional imaginary part.
MeijerG[{{1/2}, {}}, {{0, 1/2, 1/2}, {0}}, -(x^2/4)]/(2 Sqrt[2 \[Pi]])
So am I missing something or is this a bug? And which of the two is correct, if any?
Update: So this was a bug, but it is fixed now in version 12.2