Bug 47870 - Portal entries not shown after update to latest portal version
Portal entries not shown after update to latest portal version
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3-2-errata
Assigned To: Philipp Hahn
Erik Damrose
:
Depends on: 47864
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-27 09:19 CEST by Michael Grandjean
Modified: 2018-09-27 13:05 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.600
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Workaround is available
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2018-09-27 09:19:43 CEST
Created attachment 9681 [details]
Screenshot of example portal entry

4.3-2 errata255

A customer system show the portal, but the only entry is "System settings".
The portal was configured with lots of custom entries before, those are all gone.
The portal entry objects in UMC -> Domain -> Portal settings miss the possibility to assign the entry to one or more portals.

+++ This bug was initially created as a clone of Bug #47864 +++

The DN of the portal sent to the portal frontend is incomplete, therefore the JS part will not render the portal entries.
Comment 2 Michael Grandjean univentionstaff 2018-09-27 09:22:02 CEST
Two more cases on help.univention.com:
- https://help.univention.com/t/9837/2
- https://help.univention.com/t/9837/3
Comment 3 Michael Grandjean univentionstaff 2018-09-27 09:35:29 CEST
(In reply to Michael Grandjean from comment #0)
> The portal entry objects in UMC -> Domain -> Portal settings miss the
> possibility to assign the entry to one or more portals.

Okay, I learned that this setting was moved to the Portal entries (tab "Portal categories and entries"). 
However, the portal still only shows "System settings", although the portal object contains two categories (admin and service) with around five entries for each category.
Comment 4 Stefan Gohmann univentionstaff 2018-09-27 09:40:54 CEST
Workaround:

univention-directory-listener-ctrl resync portal
univention-directory-listener-ctrl resync portal_entry
univention-directory-listener-ctrl resync portal_category
Comment 5 Michael Grandjean univentionstaff 2018-09-27 09:43:14 CEST
Thanks, I can confirm this works, entries are shown afterwards:

univention-directory-listener-ctrl resync portal \
&& univention-directory-listener-ctrl resync portal_entry \
&& univention-directory-listener-ctrl resync portal_category
Comment 6 Dirk Wiesenthal univentionstaff 2018-09-27 11:11:40 CEST
Portal part:
  univention-portal 2.0.2-11A~4.3.0.201809271110
Comment 7 Dirk Wiesenthal univentionstaff 2018-09-27 11:12:21 CEST
Needs an update to univention-directory-listener (>= 12.0.0-29)
Comment 8 Philipp Hahn univentionstaff 2018-09-27 11:23:43 CEST
[4.3-2] 9f29ae20d7 Bug #47870 UDL: Fix terminal detection code in listener-ctrl
 management/univention-directory-listener/debian/changelog  | 6 ++++++
 management/univention-directory-listener/src/listener-ctrl | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

Package: univention-directory-listener
Version: 12.0.0-30A~4.3.0.201809271119
Branch: ucs_4.3-0
Scope: errata4.3-2

[4.3-2] 7bf80f7546 Bug #47871: univention-directory-listener 12.0.0-30A~4.3.0.201809271119
 doc/errata/staging/univention-directory-listener.yaml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Comment 9 Erik Damrose univentionstaff 2018-09-27 12:42:17 CEST
OK: Portal listeners get synced even in 'dumb' terminals
OK: Domain Portal after Upgrade
OK: yaml
Verified