Bug 35692 - javascript errors in schoolinstaller.js
javascript errors in schoolinstaller.js
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-22 13:26 CEST by Florian Best
Modified: 2014-08-27 17:01 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-08-22 13:26:05 CEST
The following errors are in schoolinstaller.js. I don't know which effects they have but they should be fixed.

Bad escapement. (umc/js/schoolinstaller.js:139:59)
> regExp: '^[a-z]([a-z0-9-]*[a-z0-9])*(\.([a-z0-9]([a-z0-9-]*[a-z0-9])*[.])*[a-z0-9]([a-z0-9-]*[a-z0-9])*)?$', // see __init__.py RE_HOSTNAME

'next' is not defined. (umc/js/schoolinstaller.js:490:13)
> next = dialog.confirm('<div style="max-width: 500px">' + _('All necessary information for the installation of UCS@school on this system has been collected. Please confirm now to continue with the installatio
n process.') + '</div>', [{

'pageName' is not defined. (umc/js/schoolinstaller.js:499:28)
> return pageName;

'next' is not defined. (umc/js/schoolinstaller.js:505:36)
> this.standbyDuring(next, this._progressBar);

'next' is not defined. (umc/js/schoolinstaller.js:535:20)
> return next;
Comment 1 Florian Best univentionstaff 2014-08-22 13:33:15 CEST
Fixed in 
ucs-school-umc-installer (2.0.17-6) 
* Bug #35032: fix javascript typos
Changelog: created
Comment 2 Florian Best univentionstaff 2014-08-26 09:17:13 CEST
Effect of the error: when installation fails and one clicks on reconfigure he jumps back to the first page instead one page back.
Comment 3 Dirk Wiesenthal univentionstaff 2014-08-26 11:00:44 CEST
(In reply to Florian Best from comment #2)
> Effect of the error: when installation fails and one clicks on reconfigure
> he jumps back to the first page instead one page back.

Changelog modified
Otherwise Ok
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 17:01:41 CEST
UCS@school 3.2 R2 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html

If this error occurs again, please use "Clone This Bug".