Univention Bugzilla – Full Text Bug Listing |
Summary: | Open an App via URL query | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | UMC - App-Center | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | enhancement | ||
Priority: | P5 | CC: | walkenhorst, wiesenthal |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=36385 | ||
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: | |||
Bug Depends on: | |||
Bug Blocks: | 39236, 39237 | ||
Attachments: |
patch
patch [UDM] |
Description
Stefan Gohmann
2015-05-15 06:59:15 CEST
It is btw. already possible if the app is installed: http://demo.univention.de/univention-management-console/?module=apps&flavor=cups Created attachment 6907 [details] patch Patch which allows /umc/?module=appcenter&flavor=appcenter&app=NAME Well, I would prefer /umc/appcenter/appcenter/NAME. I would not expose this as public API as we probably want to change from query string to fragment in Bug #20714. Patch fixes also Bug #36385. Created attachment 6908 [details]
patch [UDM]
Another patch which allows the same functionality for every UDM object:
/umc/?module=udm&flavor=users/user&dn=uid%3DAdministrator%2Ccn%3Dusers%2Cdc%3Dnstx%2Cdc%3Dlocal
Fixed: the attribute props is now given to module initialization which contains the querystring without {username,password,module,flavor,overview,lang}. Fix: svn r60928 YAML: 2015-05-28-univention-management-console-frontend.yaml For appcenter the parameter 'app' is evaluated. Fix: svn r60929 YAML: 2015-05-28-univention-management-console-module-appcenter.yaml For udm the parameter 'dn' and 'objectType' are evaluated. Fix: svn r60927 YAML: 2015-05-12-univention-management-console-module-udm.yaml *** Bug 36385 has been marked as a duplicate of this bug. *** App Center works fine. But UDM has some issues. ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. But even with flavor=users/user the object is opened, but cancelling or saving closes the complete module. Is this intentional? Because the App Center works differently. (In reply to Dirk Wiesenthal from comment #6) > App Center works fine. But UDM has some issues. > ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. It raises because you missed "&objectType=groups/group" in the query string. → Should I do anything here? E.g. using a sanitizer which shows "missing param: objectType". > But even with flavor=users/user the object is opened, but cancelling or > saving closes the complete module. Is this intentional? Because the App > Center works differently. Well, that's the design of UDM because we use this functionality already when opening objects in a new tab. (In reply to Florian Best from comment #7) > (In reply to Dirk Wiesenthal from comment #6) > > App Center works fine. But UDM has some issues. > > ?module=udm&flavor=navigation&dn=uid%3DAdministrator%2Ccn%3Dusers... raises. > It raises because you missed "&objectType=groups/group" in the query string. > → Should I do anything here? E.g. using a sanitizer which shows "missing > param: objectType". This "Bad request" error is now also handled. (svn r61343). Code: OK YAML: OK |