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

Fehler bei Reload des Aktenzeichen Präfix Manager nach Freigabe #5257

Open
jone opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jone
Copy link
Member

jone commented Jan 10, 2019

https://sentry.4teamwork.ch/sentry/onegov-gever/issues/10524/

TypeError: expected integer key
(2 additional frame(s) were not displayed)
...
  File "ZPublisher/Publish.py", line 48, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "src/opengever.core/opengever/repository/browser/referenceprefix_manager.py", line 14, in __call__
    self.free_reference_prefix(prefix_num)
  File "src/opengever.core/opengever/repository/browser/referenceprefix_manager.py", line 21, in free_reference_prefix
    if refs.is_prefix_used(prefix_num):
  File "src/opengever.core/opengever/base/adapters.py", line 185, in is_prefix_used
    if intid_util.queryObject(intid) is None:
  File "home/zope/eggs/zope.intid-3.7.2-py2.7.egg/zope/intid/__init__.py", line 75, in queryObject
    r = self.refs.get(id)

TypeError: expected integer key

  1. "Präfix des Aktenzeichens" einer Ordnungsposition ändern.
  2. "Aktenzeichen Präfix Manager" des Containers öffnen.
  3. geänderte Position "Freigeben"
  4. Browser-Reload ausführen

Erwartet: Die Ansicht des Aktenzeichen Präfix Manager wird aktualisiert; nützlich wenn ich in einem anderen Tab eine weitere Ordnungsposition verändert habe.
Passiert: Fehler; siehe oben.
Grund: Freigabe wird per "GET" gemacht und leitet nicht auf eine Resultatseite weiter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment