Univention Bugzilla – Bug 47243
Add custom categories for portal
Last modified: 2018-11-29 09:49:36 CET
Currently it is not possible to add custom categories to the portal but this is necessary for coherent portal concept.
Changelog & Advisories: Installation: - admin and service category was created: OK - correct mapping of content property on portal object: ERR (*) - mapping respects portalEntriesOrder if set: ERR (*****) - portal.json contains content dict: OK - other servers still have 'old' portal: OK Settings/portal: - order of content dict is shown on portal: COMMENT (**) (changing portalEntriesOrder does not change content after installation!) - if a portal_entry gets removed from a portal the portal is also removed from the portal_entries univentionPortalEntryPortal (***) - Content order is reflected in deprecated portal as good as possible: ERR (****) Settings/portal_category: - portal content is updated if portal_category object was deleted: OK - "" if portal_category object was renamed: OK - "" if portal category object was moved: OK - deprecated category for new entries is always service: OK Settings/portal_entry: - portal content is updated if portal_entry object was deleted: OK - "" if portal_entry object was renamed: OK - "" if portal entry object was moved: OK - if deprecated univentionPortalEntryPortal gets modified, changes are reflected in respective portals content: NDY Graphical Portal Edit: - Add/remove categories: OK - Add/remove entries: OK (*) After installation the portal was completely blank (except title). After checking the new Portal-Categories and -Entries it showed that the portal category fields were blank. After setting the right categories the portal showed as expected. (**) Works as expected. Is it possible though to add easy buttons to change order of categories and entries in categories in the UMC? At the moment I have to delete and readd to change order. (***) Verified via univention-ldapsearch -b cn=univentionblog,cn=portal,cn=univention,dc=realm2,dc=intranet | grep univentionPortalEntryPortal (****) Showed default domain portal on slave and switched management with univention blog. Old portal did not get new order. (*****) Probably same cause as for (*)
(**) Works as expected. Is it possible though to add easy buttons to change order of categories and entries in categories in the UMC? At the moment I have to delete and readd to change order. Problem gone. Probably a caching problem. Buttons for moving are present
Installation: - correct mapping of content property on portal object: OK - mapping respects portalEntriesOrder if set: ERR (*) Settings/Portal: - Content order is reflected in deprecated portal as good as possible: OK (**) Settings/portal_entry: - if deprecated univentionPortalEntryPortal gets modified via udm, changes are reflected in respective portals content: OK (*) Order set in old portal is not adopted by new portal (**) The new order is only reflected if there are actual changes in the ldap. Only changing orders in the new settings does not change the order in the old portals until some entries are removed/renamed/added --- Only one manual test still fails
38c5586929 Bug #47243: Add custom categories for the portal 9f932583b5 Bug #47243: Add images 2af2c87601 Bug #47243: translations 53fc69d6a4 Bug #47243: Debian changelog entries 6978fd0116 Bug #47243: YAML - add entries 97912e53c7 Bug #47243: Merge branch 'jkeiser/4.3-2/47243/custom_categories_for_the_portal' into 4.3-2 d6af54e5c5 Bug #47243: YAML - update versions Successful build Package: univention-web Version: 2.0.0-23A~4.3.0.201809101233 Successful build Package: univention-ldap Version: 14.0.2-19A~4.3.0.201809101240 Successful build Package: univention-directory-manager-modules Version: 13.0.22-2A~4.3.0.201809101242 Successful build Package: univention-management-console-module-udm Version: 8.0.5-15A~4.3.0.201809101244 Successful build Package: univention-portal Version: 2.0.2-2A~4.3.0.201809101246
Changelog&Advisories: OK Installation: - admin and service category was created: OK - correct mapping of content property on portal object: OK - mapping respects portalEntriesOrder if set: OK - portal.json contains content dict: OK - other servers still have 'old' portal: OK Settings/portal: - order of content dict is shown on portal: OK (changing portalEntriesOrder does not change content after installation!) - if a portal_entry gets removed from a portal the portal is also removed from the portal_entries univentionPortalEntryPortal: OK - Content order is reflected in deprecated portal as good as possible: OK Settings/portal_category: - portal content is updated if portal_category object was deleted: OK - "" if portal_category object was renamed: OK - "" if portal category object was moved: OK - deprecated category for new entries is always service: OK Settings/portal_entry: - portal content is updated if portal_entry object was deleted: OK - "" if portal_entry object was renamed: OK - "" if portal entry object was moved: OK - if deprecated univentionPortalEntryPortal gets modified, changes are reflected in respective portals content: OK Graphical Portal Edit: - Add/remove categories: OK - Add/remove entries: OK
custom backgrounds for the portal are no longer displayed The links from Bug #43442 are not displayed
(In reply to Johannes Keiser from comment #7) > custom backgrounds for the portal are no longer displayed > > The links from Bug #43442 are not displayed 60172d2114 Bug #47243: fix background images and footer links not being displayed 8db0be67bf Bug #47243: Debian changelog db091639f0 Bug #47243: YAML - update version Successful build Package: univention-portal Version: 2.0.2-3A~4.3.0.201809101649
Changelog&Advisory: OK Package installed: OK Background picture is now displayed: OK Links from Bug #43442 are displayed: OK
dcac89bf8d Bug #47243: show deactivated and out of group entries when editing portal abff23e02e Bug #47243: Debian changelog entries 543aa63aab Bug #47243: Merge branch 'jkeiser/4.3-2/47243/custom_categories_for_the_portal' into 4.3-2 e5ec3c6987 Bug #47243: YAML - update versions When an admin edits the portal they now also see deactivated entries and entries that they normally would not see because of group settings. If they weren't shown they would be deleted from the content when e.g. the entry order is saved.
Tested with univention-management-console-module-udm: 8.0.5-18A~4.3.0.201809181301 univention-web: 2.0.0-24A~4.3.0.201809181311 univention-portal: 2.0.2-5A~4.3.0.201809181453 Retested all the old points and could not find any problems. I stress tested the drag and drop of the portal as good as I could and encountered not a single problem with dragging the tiles around While editing the entire portal is now shown and saved properly Changelog&Advisories OK Package installed: OK
<http://errata.software-univention.de/ucs/4.3/250.html> <http://errata.software-univention.de/ucs/4.3/251.html> <http://errata.software-univention.de/ucs/4.3/252.html> <http://errata.software-univention.de/ucs/4.3/253.html> <http://errata.software-univention.de/ucs/4.3/254.html>