Fleetwood E1 Roof Leak

Just in time when it was mine turn to send me a new roof covered under warranty.
Fleetwood e1 roof leak. As i disassbled the and removed the ceiling panels after having the roof off and drying for 3 months the foam was still wet and the wood on the corner edges was completely disolved and molded. Using hose on roof i only spayed this area so it s not running under from other parts of roof. Here it is important for you to check whether it leaks when the ac is on or when it rains and maybe even if it leaks in both situations. How nice of them.
Evening i have an 05 expedition 38n bought used. Checkout my previous post on how to fix leaking rv air conditioner. Leaking is a common problem when it comes to air conditioners in recreational vehicles. Water dripping in at wall to roof seam above door above where door awning attaches.
Seems to be leaking from. Colemans pop up devision went out of bis. So i am looking for a way to seal this roof once and for all before the leak ruins the entire camper. My roof looked exactly the same.
I knew it had a leak when i bought it last fall but the price was right and i was willing to repair it.