Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the social networks module concerning the URLs in the Tier/Contact and Company #29657

Open
tifredfr opened this issue May 12, 2024 · 4 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@tifredfr
Copy link

tifredfr commented May 12, 2024

Bug

Problem with the social networks module concerning the URLs of the networks in the Tier/Contact and Configuration > Company > Social networks files.

Dolibarr Version

19.0.2

Environment PHP

8.2.18

Environment Database

MariaDB 10.6.16

Steps to reproduce the behavior and expected behavior

  • J'ai activé le module réseau sociaux, je suis ensuite aller dans : Configuration > Société/Organisation > Réseaux sociaux. J'ai ajouter mes réseaux sociaux, Facebook, Insta...
  • J'ai ensuite créer un tier, j'ai de même ajouter les réseaux sociaux sur le tier. Mais l'URL du tier ou d'un contact est remplacée par l'URL du réseau configuré dans Société/Organisation.

  • I activated the social network module, then went to: Configuration > Company/Organization > Social networks. I added my social networks, Facebook, Insta...
  • I then created a tier, and added the social networks to the tier. But the URL of the tier or contact is replaced by the URL of the network configured in Company/Organization.

Attached files

Capture d’écran 2024-05-12 à 15 18 30
@tifredfr tifredfr added the Bug This is a bug (something does not work as expected) label May 12, 2024
@frederic34
Copy link
Contributor

what do you have in the dictionary

image

@frederic34
Copy link
Contributor

ok that's a bug

image

@frederic34
Copy link
Contributor

frederic34 commented May 17, 2024

set as this, do not replace {socialid}

image

@tifredfr
Copy link
Author

Hi @frederic34,

Indeed I added {socialid} and it works :)

The bug for me is that when I leave the URL field empty and I save, it autocompletes the field with the value contained in "ID du réseau social", so the {socialid} variable is deleted...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants