Here is Canon 1085:

Canon  1085 §1. A person bound by the bond of a prior marriage, even if it was not consummated, invalidly attempts marriage.

§2. Even if the prior marriage is invalid or dissolved for any reason, it is not on that account permitted to contract another before the nullity or dissolution of the prior marriage is established legitimately and certainly.

Absent is "relationship". Also absent is "near occasions of sin".

If you can put together a question in a form that can be answered, we can take another crack at it.