Univention Bugzilla – Bug 40747
numeric sort of DNS pointer records
Last modified: 2016-03-18 06:48:59 CET
Created attachment 7495 [details] Screenshot The DNS pointer records are currently not sorted numerically. The problem is that the values are transferred to the UMC frontend as strings instead of integers. To get the information univention.admin.objects.description() is used. This calls syntax_class.to_string(). A handler can overwrite this with a 'description' function. I don't know if it is safe to return an integer there. So better fix it in UMC for all attributes with a short check if the string consists of only numeric values?
univention-management-console-module-udm (6.0.11-4): r67618 | Bug #40747: sort PTR record (and number based properties) numerically univention-management-console-module-udm.yaml: r67618 | Bug #40747: sort PTR record (and number based properties) numerically
The fix has one problem: It doesn't sort items which aren't completely numeric e.g. '10.200' - This cannot be fixed with our current grid. We need dojo dgrid for this (Bug #32027). The fix for sorting '10.200' in the tree has been committed: r68133 | Bug #40747: fix sorting also in the tree view; Bug #38639: enhance formatter
What I checked: Sorted DNS pointer records on the web interface. Note: comment 2 Changes: OK. YAML: OK. → VERIFIED
<http://errata.software-univention.de/ucs/4.1/133.html>