Bug #891

User/Group modules: creation of first entry fails

Added by Davide Principi over 9 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:03/16/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:v1.5.0
Security class: Resolution:
Affected version: NEEDINFO:

Description

This has been tested on a clean user/group database installation. At first two groups were created, then a user.

The problem may be related to an uninitialized value

Use of uninitialized value $members in split at /usr/share/perl5/vendor_perl/esmith/AccountsDB.pm line 146.#012

Related issues

Related to Nethgui - Feature #909: Empty DataTable appearance CLOSED

Associated revisions

Revision fa701cab
Added by Davide Principi over 9 years ago

Table Read.php template: show a dummy row for empty table sets. Refs #891 - This workaround initializes the jquery DataTable plugin correctly

Revision 9249a745
Added by Davide Principi over 9 years ago

DataTable styles. Added empty row style. Refs #891 - DataTable initialization workaround

History

#1 Updated by Davide Principi over 9 years ago

  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 0 to 50

It's a JavaScript error on the datatable plugin

jquery.dataTables.min.js:106 Uncaught TypeError: Cannot read property 'aoData' of null
da jquery.dataTables.min.js:106
j.fn.dataTable.fnClearTable jquery.dataTables.min.js:118
$.widget._updateView 230acaf9.js:1025
$.widget._create 230acaf9.js:211
f.event.handle jquery-1.6.2.min.js:17
f.event.add.i.handle.k jquery-1.6.2.min.js:16
f.event.trigger jquery-1.6.2.min.js:17
f.fn.extend.triggerHandler jquery-1.6.2.min.js:17
Server.ajaxMessage.dispatchResponse 230acaf9.js:122
e.extend.each jquery-1.6.2.min.js:16
e.fn.e.each jquery-1.6.2.min.js:16
Server.ajaxMessage.dispatchResponse 230acaf9.js:121
e.extend.each jquery-1.6.2.min.js:16
Server.ajaxMessage.dispatchResponse 230acaf9.js:104
f.extend._Deferred.e.resolveWith jquery-1.6.2.min.js:16
w jquery-1.6.2.min.js:18
f.support.ajax.f.ajaxTransport.send.d jquery-1.6.2.min.js:18

#2 Updated by Davide Principi over 9 years ago

  • Project changed from 47 to Nethgui

#3 Updated by Davide Principi over 9 years ago

  • Status changed from ON_DEV to 7
  • % Done changed from 50 to 100

#4 Updated by Davide Principi over 9 years ago

Problem resolved by a workaround-fix. See feature #909 for an improved solution.

#6 Updated by Davide Principi over 7 years ago

  • Target version deleted (DEV1)

Also available in: Atom PDF