I would like to know if one can weaken conditions of Proposition 2.8 in http://www.jmilne.org/math/xnotes/CA.pdf
The proposition says that if an ideal $a$ in a ring $A$ is contained in the union of ideals $p_1,...,p_r$ with $p_2,...,p_r$ prime, then $a$ is contained in one of $p_i$.
Why do we need to require that $p_2,...,p_r$ are all prime? What would be the simplest example where some of $p_i$ are non-prime and the proposition does not hold?
It seems to me at least that if $A$ is a polynomial ring $\mathbb C[x_1,...,x_n]$ then one does not need to require that $p_i$ are prime. Am I wrong?