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

Refonte demande de dossier de sponsoring : supprimer l'intégration trello (2/3) #1242

Open
agallou opened this issue Dec 21, 2022 · 0 comments
Labels

Comments

@agallou
Copy link
Member

agallou commented Dec 21, 2022

Dans le cadre de la migration de Trello à Hubspot et suite au #1241 il n'y aura plus besoin lors des demandes de dossier de sponsoring, de créer une nouvelle carte sur trello.

  • Dans le lead repository il n'y a donc plus besoin de faire l'envoi sur trello

$card = $this->manager->getCard();

  • Les services trello manager et trello client ne sont plus utiles

Trello\Client:

  • La dépendance à cdaguerre/php-trello-api peux être supprimée.

"cdaguerre/php-trello-api": "^0.9.3",

  • Dans le BO sur la gestion du Forum il n'y plus besoin du champ trello dans les formulaires de création et modification. Les méthodes correspondantes d'ajout et modification n'ont plus besoin de ce champ

$formulaire->exportValue('trello_list_id'),

  • Le champ þrello_list_id peux être supprimé

ADD `trello_list_id` varchar(100) COLLATE 'utf8_general_ci' NULL AFTER `path`

  • Ce champ est supprimable dans le modèle des Events

'columnName' => 'trello_list_id',

(la documentation sur la gestion du champ trello pourra être modifiée)

@agallou agallou added the good first issue Good for newcomers label Feb 1, 2023
agallou added a commit that referenced this issue May 23, 2024
On avait cette erreur sur la demande de dossier de sponsoring :
```
May 23 19:22:37 afupsvr01 [3278]: request.CRITICAL: Uncaught PHP Exception Trello\Exception\RuntimeException: "Unauthorized for read-only workspace" at /home/sources/web/releases/20240523084005/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/HttpClient.php line 152 {"exception":"[object] (Trello\\Exception\\RuntimeException(code: 401): Unauthorized for read-only workspace at /home/sources/web/releases/20240523084005/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/HttpClient.php:152, Trello\\Exception\\PermissionDeniedException(code: 401): Unauthorized for read-only workspace at /home/sources/web/releases/20240523084005/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/Listener/ErrorListener.php:30)"} []
```

Ici on fait un correctif rapide, à terme il faudra traiter le #1242 pour une meilleure correction.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant