Changeset 13104 for main/waeup.kofa/trunk/docs
- Timestamp:
- 26 Jun 2015, 09:04:51 (10 years ago)
- Location:
- main/waeup.kofa/trunk/docs/source/userdocs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/applicants/browser.rst
r13101 r13104 38 38 39 39 40 .. _ form_locking:40 .. _application_form_locking: 41 41 42 42 Form Locking 43 43 ============ 44 44 45 We alreadymentioned regular :ref:`page_locking` mechanisms. The45 We mentioned regular :ref:`page_locking` mechanisms. The 46 46 `ApplicantEditFormPage` has two additional locks. One is the same 47 47 named applicant attribute `locked`. Applicants can only enter the … … 135 135 136 136 Batch creation of thousands or even tenthousands of student records 137 is very computation intensive and takes quite a long time, even on137 is very computation intensive and takes quite a long time, even with 138 138 powerful computers. Experience has shown that the portal must be 139 139 disconnected from the Internet in order to avoid database write … … 141 141 the portal. Usually conflict errrors are not serious. Unresolved 142 142 conflicts just lead to an error message and the database remains 143 unchanged. Unfortunataly, student creation does not only a ffectthe143 unchanged. Unfortunataly, student creation does not only alter the 144 144 object database. As we will see below, also folders and files in the 145 145 filesystem are added. These filesystem changes are not being 146 reverted after unresolved conflicts. This may cause serious problems. 146 reverted after unresolved conflicts, a fact which can cause serious 147 problems. 147 148 148 149 So the answer to the question is trivial: We expect that the admin 149 150 user knows what s/he is doing and is careful enough to start the 150 151 creation process in maintenance mode, which means when the portal is 151 set offline.152 disconnected from a public network. 152 153 153 154 … … 162 163 :scale: 50 % 163 164 165 `Applicant.createStudent` 166 ------------------------- 167 168 The `createStudent` method is called for each admitted applicant. 169 The method performs a series of checks before it creates a new 170 student record: 171 172 1. Is the applicant really in the correct state? 173 174 2. Has the registration number not been assigned to another student? 175 176 3. Is a certificate (`course_admitted`) provided? 177 178 4. Can all required student attributes be copied and set? The 179 following attributes are copied: 180 181 .. autoattribute:: waeup.kofa.applicants.applicant.Applicant.applicant_student_mapping 182 :noindex: 183 184 5. Can the application slip can be created? Defective images may 185 cause the adapter method to raise an exception (``IOError``). 186 187 If all these checks are passed, a new student record is created, a 188 password is set, the transitions ``create`` and ``admit`` are fired 189 and all student study course attributes are set. These are the 190 changes which affect the database. 191 192 Furthermore, `createStudent` also produces an application slip pdf 193 file, creates a new folder for the student in the filesystem and 194 copies the pdf file together with the passport jpeg image file into 195 the newly created folder. The copied application slip ensures, that 196 the original application data do not get lost, when the application 197 section is being purged. 198 199 As mentioned above, folder creation and file copying are not being 200 rolled back if the database transactions fails, e.g. due to write 201 conflict errors. Therefore, batch student creation should only be 202 performed if the portal is offline. -
main/waeup.kofa/trunk/docs/source/userdocs/applicants/interfaces.rst
r13099 r13104 100 100 only. These properties are computed dynamically and can't be set. 101 101 102 `IApplicant` 103 ------------ 104 102 105 In the base package `IApplicant` is derived from `IApplicantBaseData` 103 106 and only two methods are added: 104 105 `IApplicant`106 ------------107 107 108 108 .. literalinclude:: ../../../../src/waeup/kofa/applicants/interfaces.py -
main/waeup.kofa/trunk/docs/source/userdocs/browsing.rst
r13100 r13104 112 112 permissions the user gained. But this is not sufficient. Applicants 113 113 and students always have the permission to handle their data 114 although they are not allowed to edit the data all the time. The115 access to forms has to be further restricted. This is always done in114 although they are not allowed to edit the data all the time. 115 Access to forms has to be further restricted. This is always done in 116 116 the `update` method of a page. If an applicant or student doesn't 117 117 meet the additional conditions defined in this method, s/he is -
main/waeup.kofa/trunk/docs/source/userdocs/datacenter/export.rst
r12971 r13104 27 27 In the Kofa base package only very few columns are being exported. In 28 28 some Kofa custom packages tons of data are being gathered from 29 applicants and students and the number of columns increase accordingly. 29 applicants and students and the number of columns increases 30 accordingly. 30 31 31 32 The `title` attribute unveils the name of the exporter under which
Note: See TracChangeset for help on using the changeset viewer.