Ignore:
Timestamp:
10 Jan 2018, 14:44:49 (7 years ago)
Author:
Henrik Bettermann
Message:

Do no longer hide the 'Create students' buttons but switch the portal to
maintenance mode to ensure that nobody can enter the portal during
record creation except for user 'admin'. This guarantees that record
creation is only started once.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/docs/source/userdocs/applicants/create_students.rst

    r14683 r14934  
    2525  applicants will be skipped without further notice.
    2626
    27 3. Last but not least, the portal manager with user id ``admin``
    28    does see a link button:
     273. Last but not least, the portal managers do see a link button:
    2928
    3029  |create_students_button|
     
    3231  on the `ApplicantsContainerPage` and on the `ApplicantsRootPage`
    3332  which creates student records from applicants inside a single
    34   applicants container or even portal-wide respectively.
     33  applicants container or even portal-wide respectively. A warning
     34  message appears before the process is started. After start the
     35  portal is immediately switched into maintenance mode to ensure that
     36  nobody can enter the portal during record creation except for user
     37  'admin'. Maintenance mode is switched off as soon as the process has
     38  finished.
    3539
    36   The reader may wonder: Why only user ``admin``?
     40.. note::
    3741
    3842  Batch creation of thousands or even tenthousands of student records
    3943  is very computation intensive and takes quite a long time, even with
    4044  powerful computers. Experience has shown that the portal must be
    41   disconnected from the Internet in order to avoid database write
    42   conflict errors, which cannot be resolved if also students access
    43   the portal. Usually conflict errrors are not serious. Unresolved
    44   conflicts just lead to an error message and the database remains
    45   unchanged. Unfortunataly, student creation does not only alter the
    46   object database. As we will see below, also folders and files in the
    47   filesystem are added. These filesystem changes are not being
    48   reverted after unresolved conflicts, a fact which can cause serious
    49   problems.
    50 
    51   So the answer to the question is trivial: We expect that the admin
    52   user knows what s/he is doing and is careful enough to start the
    53   creation process in maintenance mode, which means when the portal is
    54   disconnected from a public network.
     45  switched to maintenance mode (or even disconnected from the Internet)
     46  in order to avoid database write conflict errors, which cannot be
     47  resolved if also students access the portal. Usually conflict
     48  errrors are not serious. Unresolved conflicts just lead to an error
     49  message and the database remains unchanged. Unfortunataly, student
     50  creation does not only alter the object database. As we will see
     51  below, also folders and files in the filesystem are added. These
     52  filesystem changes are not being reverted after unresolved conflicts,
     53  a fact which can cause serious problems.
    5554
    5655
Note: See TracChangeset for help on using the changeset viewer.