Project

General

Profile

Bug #2483

Prevent upgrade hickup launching DB upgrade process twice

Added by Yannick Warnier over 8 years ago. Updated almost 8 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
27/12/2010
Due date:
% Done:

70%

Estimated time:
0.50 h
Complexity:
Easy
SCRUM pts - complexity:
3

Description

When not being careful, the database upgrade process sometimes occurs twice (the button is clicked two times). On very large installations, this can cause the upgrade to fail and be postponed several days, generating additional system administration costs.

There is probably a way to prevent this by adding a session parameter in main/install/index.php that locks the upgrading process (the button at the end) if it has already entered the switch before. The person who fixes this should take extra care of not preventing an upgrade completely though, nor to cut it in the middle of the upgrade. The same goes for "installations"

Manual tests should be executed to ensure the procedure is good, before committing to upstream.

Associated revisions

Revision f77b9f5e (diff)
Added by Julio Montoya almost 8 years ago

Blocking button of step 6 when installing/updating the platform see #2483

Revision a669291a (diff)
Added by Angel Fernando Quiroz Campos over 1 year ago

Show sessions without category in hot sessions list

See #2483

Revision 64a3f5cb (diff)
Added by Angel Fernando Quiroz Campos over 1 year ago

Avoid show free-prive when buy course is not enabled

See #2483

History

#1

Updated by Yannick Warnier almost 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Julio Montoya
  • Estimated time changed from 2.00 h to 0.50 h
  • Complexity changed from Difficult to Easy
  • SCRUM pts - complexity changed from 20 to 3

Actually just disabling the "Install Chamilo!" button in JavaScript (when it's been clicked already) should be enough (hence I'm reducing the complexity)

#2

Updated by Julio Montoya almost 8 years ago

  • Status changed from Assigned to Needs more info
  • Assignee deleted (Julio Montoya)
  • % Done changed from 0 to 70
#3

Updated by Yannick Warnier almost 8 years ago

  • Status changed from Needs more info to Bug resolved

I rely on you for this one.

Also available in: Atom PDF