Univention Bugzilla – Full Text Bug Listing |
Summary: | numeric sort of DNS pointer records | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - DNS | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | brodersen, gohmann |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=38878 http://forge.univention.org/bugzilla/show_bug.cgi?id=32027 |
||
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): | External feedback, Usability | |
Max CVSS v3 score: | |||
Attachments: | Screenshot |
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 |
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?