I know that there's a bijection between the prime ideals of $S^{-1}A$ and the prime ideals of $A$ not meeting $S$ -- some people (see here and here) have asked about whether this is true for all ideals. I see that this isn't true in general, but I'm wondering what conditions have to be met for it to be true.
Generally, I know that every ideal in $S^{-1}A$ is an extension of an ideal of $A$, but this "correspondence" is not injective. So maybe one way I could approach this problem is figuring out when two ideals have the same extension. On the flip side, knowing that every ideal of $S^{-1}A$ is equal to the extension of its contraction, maybe I could also try figuring out why the contraction of $I \subset S^{-1}A$ is "special" among the ideals of $A$ that extend to it.
Unfortunately, I'm having some difficulty with either of these approaches. Could someone possibly finish a classification of when this happens (maybe using some other idea)? One possible example is the obvious isomorphism when $S = \{1\}$; is this the only example?