foxtrick icon indicating copy to clipboard operation
foxtrick copied to clipboard

Youth current skill and potential is reversed on CopyPlayerAd

Open rs443 opened this issue 1 year ago • 2 comments

When browsing a youth player and clicking the CopyPlayerAd button current skill name and potential is reversed. The number is correct however. Using swedish language on hattrick.

Example: Current skill in Playmaking, Passable (6) Potential in Playmaking, Solid (7)

This is reversed in the copied output: Playmaking: Solid (6) / Passable (7)

Firefox with foxtrick 0.17.9.2709 beta-82137af41 webext

What steps will reproduce the problem?

Clicking the CopyPlayerAd.

What is the expected behaviour? What is the actual behaviour? Please provide any relevant screenshots.

Output should be: Playmaking: Passable (6) / Solid (7)

Foxtrick log URL (see above):

Any other relevant information. Is it a regression, when it worked/broke etc.

Have been broke as long as I remember. Copying using the hattrick builtin Copy Player works.

rs443 avatar Oct 18 '23 08:10 rs443

Other specific settings? I don't have this issue, using Firefox. I tested both Hattricks built-in copyplayerAd and Foxtricks version I tested checking the button 'Copy in plain style without tables' as well, but I still got it in correct order. I also tested legacy settings in HT

My example is a youth player with defence 6/7 - that's the only thing different (and working)!

Screenshot(5)

Output: Jonas Björkflod [youthplayerid=331592996]

Keeper: unknown / unknown Defending: passable (6) / solid (7) Playmaking: poor (3) / - Winger: - / solid (7) Passing: unknown / unknown Scoring: - / poor (3) Set pieces: unknown / unknown

Edit: Same result in Swedish and English. Just chose English here for presentation

murko69 avatar Oct 19 '23 10:10 murko69

Strange! I have no other settings I know of that could interfere. Also using Firefox.

Here is a screenshot of a youth player with bra/inadequate(5) scoring/målgörare skill with ypperlig/passable(6) potential:

1

Foxtrick copy player: bild

Hattrick built in copy player: bild

My Hattrick site settings: 2

rs443 avatar Oct 24 '23 13:10 rs443