Skip to content
TORNLIFE More

Null reference after self attacking *minor*

Started by David002 [530238] on in Bugs & Issues.

2 replies · 57 views · thread synced · 9 days ago · View on torn.com
About this thread

Posts archived: 3 / 3 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
3
Discussion span
→
People posting
3
Likes on archived posts
0
Posts by staff, officers and moderators
2
Authority score
55 / 100
Historical score
30 / 100
Story score
30 / 100
Engagement score
36 / 100
David002 [530238]
Hallo,

When travelling, under the 'People' link, you have the people in that country and a button to attack (or revive) next to them.
There is even a (clickable) attack button next to your own account.
This leads to the error message below (as intended).
[image: profileimages.torn.com]
An issue arises when clicking the 'Back to profile' arrow/button.
The url is "www.torn.com/profiles.php?XID=null" instead of your own ID.

The issue can also be replicated by using https://www.torn.com/loader.php?sid=attack&user2ID=YOUR_ID

Nothing common or serious, so feel free to do as you please with this.


With kind regards
CloudJumper [1636201]Staff
There are a couple things to address here.

1) The attack/revive link next to your name under the People tab shouldn't be available.

2) The back to profile link on top of the attacking page leads to the mentioned null link

[image: i.imgur.com]

Passing along to Pavel for the attacking page issue, can be passed up further for the People tab issue when abroad.

Thanks..!!
aurel1 [1046304] Admin Staff
Profile link is a part of layout atm, I believe for now we can simply include a correct link (taht's done), making futher changes if will be needed, thanks.