Project

General

Profile

Bug #3308

Lors de l'édition de l'agenda d'une salle(de réunion par exemple) le popup s'affiche vide

Added by Serghei Mihai about 11 years ago. Updated almost 11 years ago.

Status:
Fermé
Priority:
Immediat
Assignee:
Target version:
-
Start date:
19 July 2013
Due date:
% Done:

100%

Estimated time:
Patch proposed:
Planning:

Description

Sur la page Agenda -> Agenda des salles lors de l'édition de la réservation le popup apparait vide, juste avec le bouton Modifier


Files

Associated revisions

Revision a9b5c9c4 (diff)
Added by Serghei Mihai about 11 years ago

agenda: fixing the url of editing a room schedule

Closes #3308

Revision cb2f39f1 (diff)
Added by Serghei Mihai almost 11 years ago

agenda: fixing the url editing room and therapists schedules

Closes #3308

Revision c66421c6 (diff)
Added by Serghei Mihai almost 11 years ago

agenda: fixing the url editing room and therapists schedules

Closes #3308

History

#1

Updated by Serghei Mihai about 11 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

Appliqué par commit aps42:calebasse|commit:a9b5c9c41aa48a6663afb037a55a0d016c03341f.

#2

Updated by Serghei Mihai about 11 years ago

Appliqué par commit calebasse:calebasse|commit:a9b5c9c41aa48a6663afb037a55a0d016c03341f.

#3

Updated by Serghei Mihai almost 11 years ago

  • Status changed from Résolu (à déployer) to En cours
  • % Done changed from 100 to 50

Le commit impacte l'édition des agenda des thérapeutes.
Ça peut être lié aux URL rélatives.

#4

Updated by Serghei Mihai almost 11 years ago

Revert dans le commit 5544744

#6

Updated by Serghei Mihai almost 11 years ago

  • Status changed from En cours to Résolu (à déployer)
  • % Done changed from 50 to 100

Appliqué par commit aps42:calebasse|commit:cb2f39f157f9baaac29bf9e0bf4c57378a206708.

#7

Updated by Serghei Mihai almost 11 years ago

Appliqué par commit calebasse:calebasse|commit:cb2f39f157f9baaac29bf9e0bf4c57378a206708.

#8

Updated by Mikaël Ates almost 11 years ago

  • Project changed from Produits Entr'ouvert to Calebasse
#9

Updated by Mikaël Ates almost 11 years ago

  • Status changed from Résolu (à déployer) to En cours

La page agenda des salles est désormais innaccessible :

DoesNotExist at /cmpp/agenda/2013-11-8/ressources/

No exception supplied

Request Method: GET
Request URL: http://127.0.0.1:8000/cmpp/agenda/2013-11-8/ressources/
Django Version: 1.5
Exception Type: DoesNotExist
Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py in get, line 279
Python Executable: /usr/bin/python
Python Version: 2.7.4
Python Path:

['/Donnees/devs/aps42/calebasse_new/calebasse',
'/usr/local/lib/python2.7/site-packages',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']

Server time: mar, 10 Sep 2013 09:36:32 +0200

Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/cmpp/agenda/2013-11-8/ressources/

Django Version: 1.5
Python Version: 2.7.4
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'reversion',
'south',
'django.contrib.admin',
'ajax_select',
'widget_tweaks',
'calebasse.agenda',
'calebasse.dossiers',
'calebasse.actes',
'calebasse.facturation',
'calebasse.personnes',
'calebasse.ressources',
'calebasse.middleware.request',
'south')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'calebasse.middleware.request.GlobalRequestMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'reversion.middleware.RevisionMiddleware',
'entrouvert.djommon.middleware.VersionMiddleware')

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view
25. return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
68. return self.dispatch(request, *args, **kwargs)
File "/Donnees/devs/aps42/calebasse_new/calebasse/calebasse/cbv.py" in dispatch
49. result = super(ServiceViewMixin, self).dispatch(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
86. return handler(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in get
153. context = self.get_context_data(
*kwargs)
File "/Donnees/devs/aps42/calebasse_new/calebasse/calebasse/agenda/views.py" in get_context_data
513. events = [ e.today_occurrence(self.date) for e in plain_events ]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _result_iter
123. self._fill_cache()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fill_cache
939. self._result_cache.append(next(self._iter))
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _safe_iterator
344. for item in iterator:
File "/usr/local/lib/python2.7/dist-packages/model_utils/managers.py" in iterator
36. sub_obj = [getattr(obj, s) for s in self.subclasses if getattr(obj, s)] or [obj]
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related.py" in get
279. raise self.related.model.DoesNotExist

Exception Type: DoesNotExist at /cmpp/agenda/2013-11-8/ressources/
Exception Value:

#10

Updated by Serghei Mihai almost 11 years ago

Je n'ai pas cette erreur sur ma machine.
Le patch n'impacte que le code juste le JS.

Ça pourrait être une regression introduite par les autres patchs.

#11

Updated by Mikaël Ates almost 11 years ago

  • Status changed from En cours to Fermé

Effectivement, il n'y a pas de regression sur la preprod.
Je clos donc cette demande.

Also available in: Atom PDF