InvalidTransitionError in response to review completion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Developer registration portal |
Fix Committed
|
Undecided
|
Matias Bordese |
Bug Description
When version 0.3 of https:/
automated review it triggered an AnalyzeReviewTask.
[2015-05-26 17:26:50,900: INFO/Worker-1] BlaBlaCar WebApp - 0.3: ReviewPending -> ReviewInProgress
[2015-05-26 17:26:50,901: INFO/MainProcess] Received task: devportal.
[2015-05-26 17:26:50,917: INFO/MainProcess] Task devportal.
[2015-05-26 17:26:50,957: INFO/Worker-5] Starting new HTTPS connection (1): upload.
[2015-05-26 17:26:51,114: INFO/Worker-5] ReviewClickPack
[2015-05-26 17:26:51,119: INFO/MainProcess] Task devportal.
[2015-05-26 17:26:54,115: INFO/MainProcess] Received task: devportal.
[2015-05-26 17:26:54,217: WARNING/Worker-3] /srv/sc.
self.
[2015-05-26 17:26:54,256: ERROR/MainProcess] Task devportal.
Traceback (most recent call last):
File "/srv/sc.
R = retval = fun(*args, **kwargs)
File "/srv/sc.
return self.run(*args, **kwargs)
File "/srv/sc.
app.
File "/srv/sc.
attribute = getattr(
File "/srv/sc.
raise InvalidTransiti
InvalidTransiti
[2015-05-26 17:26:56,044: INFO/MainProcess] Received task: webservices.
This apparently triggered an InvalidTransiti
current or target states, so it's not entirely clear what is happening.
A previous log line suggested that the package should be in ReviewInProgress, and the review page
says that the review passed.
It's possible that the user published the previous version during the time the review was happening,
which would cause a failure as it tried to approve a published package.
Next steps:
1) Fix the error to report the current state and the requested transition.
2) Confirm which state the package was in
3) Maybe allow Approve in Published.
Changed in developer-portal: | |
status: | New → In Progress |
assignee: | nobody → Matias Bordese (matiasb) |
Changed in developer-portal: | |
status: | In Progress → Fix Committed |
Another log line indicates that the package may well have been Published at the time this happened.
logs/saci/ sca/sca. log-20150527: 2015-05- 26 17:26:55,798 INFO devportal. clickpackageupl oad_states BlaBlaCar WebApp - 0.2: Published -> Published