Before the Bug Occurred (and any info that might relate to the bug)
I was playing Minecraft with my friend, it was just me and him and I was hosting the server. The world is pretty laggy if that helps. There's a ruined nether portal that we fixed and used that is not too far away from our main portal. It is linked to the main portal as when we go into the ruined portal, it usually takes us to the same place our main portal takes us. But since our main portal was made first, no matter what portal you go through in the overworld that takes you to the same place in the nether, when you go back it will take you into our main portal. Now, there is an xp farm right next to the ruined portal so when we are done in the xp farm (eg. mending our items or getting more xp), we go through the ruined portal to get back home. But today, that was not the case. My friend was at the xp farm and when he was done, he decided to go through the ruined portal.
When the Bug Happened and After it Happened
My friend went through the ruined portal but he didn't get sent to our main nether portal. He was sent to the same coordinates that the ruined portal was at (he was supposed to be sent around 415 x, -310 z, but he was sent to around 4000 x, -2500 z!) There was also no portal where he spawned at all, so he went halfway back but then I had to come then because he ran out of food. Thankfully we made it back, but we haven't gone back inside the ruined portal since. (also I can't send any photos because my friend didn't take a screenshot and I didn't experience the bug)
Related issues
Comments


Can confirm this as well. I had a portal set up at about x = 1080, Z = -2100 and instead of teleporting me at my Nether hub it sent me to that exact coordinate. No Nether Portal behind me in the middle of a Nether Fortress. Tried to return back to my hub and ended up dying in the process with all my gear.

Thank you for your report!
We're tracking this issue in MCPE-115933, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I can confirm this bug as it occured to me last night. I went through a Nether Portal in the Overworld on my friend's Realm that was at X=1215, Z=-214 and instead of going to the proper portal, it put me at those coordinates in the Nether with no Nether Portal behind me in the middle of a random Basalt Delta.
Thankfully I had several stacks of cooked mutton and some Ender Pearls on me (I had to get a couple more on the way back to the Nether Portal where it should've taken me in a Warped Forest) so I thankfully didn't have to bridge across any large lava oceans or worry about running out of food.
Seems like with this hotfix upon entering an Overworld Nether Portal, during it's active portal detection, NetherScale breaks when this bug occurs, so it just decides to put you at the same coordinates on X and Z, but in the Nether when it occurs since it can't obviously detect any portals near the coordinates in the Nether that represent the ones you were at in the Overworld prior to entering the portal.