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

correction de l'affichage du planning personnalisé #1676

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

agallou
Copy link
Member

@agallou agallou commented Mar 5, 2025

en allant sur https://afup.org/event/afupday2025lille/calendar

Le planning ne s'affiche pas et on a cette erreur : TypeError: $http.get(...).success is not a function.

Capture d’écran du 2025-03-05 21-19-34

On est en angular 1.8.3 :

cat node_modules/angular/package.json
{
  "name": "angular",
  "version": "1.8.3",

Et en fait même à priori dans le lock on était en 1.8.3 :

web/yarn.lock

Line 82 in f5c4ebf

version "1.8.3"

si on regarde dans un ancien dossier on était en 1.2.16.

On le confirme en local :

cat node_modules_old/angular/package.json
{
  "name": "angular",
  "version": "1.2.16",

Et sur l'ancienne prod :

afupsvr01:/home/sources/web/current$ cat node_modules/angular/package.json
{
  "name": "angular",
  "version": "1.2.16",

On adapte donc l'appel à la nouvelle version d'angular pour faire fonctionner le calendrier.

en allant sur https://afup.org/event/afupday2025lille/calendar

Le planning ne s'affiche pas et on a cette erreur : `TypeError: $http.get(...).success is not a function`.

On est en angular 1.8.3 :
```
cat node_modules/angular/package.json
{
  "name": "angular",
  "version": "1.8.3",
```

Et en fait même à priori dans le lock on était en 1.8.3 : https://github.com/afup/web/blob/f5c4ebf4d3e9a8b4aa7107be974c88d9f56d09f2/yarn.lock#L82

si on regarde dans un ancien dossier on était en 1.2.16.

On le confirme en local :
```
cat node_modules_old/angular/package.json
{
  "name": "angular",
  "version": "1.2.16",
```

Et sur l'ancienne prod :
```
afupsvr01:/home/sources/web/current$ cat node_modules/angular/package.json
{
  "name": "angular",
  "version": "1.2.16",
```

On adapte donc l'appel à la nouvelle version d'angular pour faire fonctionner le calendrier.
@agallou agallou requested review from Mopolo and stakovicz March 5, 2025 20:20
@stakovicz stakovicz merged commit eb1f134 into master Mar 6, 2025
8 checks passed
@agallou agallou deleted the fix_planning_personnalise branch March 6, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants