Bug 53285 - Update to 5.0: Portals with empty category do not have that empty category attached to it afterwards
Update to 5.0: Portals with empty category do not have that empty category at...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Dirk Wiesenthal
Felix Botner
: interim-6
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-18 16:55 CEST by Dirk Wiesenthal
Modified: 2021-05-25 16:02 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2021-05-18 16:55:58 CEST
While migrating to the new UDM modules, the portal's "content" is examined.

If an old portal has an empty category attached to it (e.g., cn=services, but no Apps installed), that category does not show up in the content.

Therefore, the new portal does not have the information that an empty category should be added to it.

If you now add content to this new category, it is not shown in the portal. (E.g., if you install an App afterwards: You get the entry, you get the link to the category cn=services, but that category is not linked to the cn=domain portal)
Comment 1 Dirk Wiesenthal univentionstaff 2021-05-18 16:58:18 CEST
We would at least add cn=services to cn=portal. cn=services holds the login entry anyway.
Comment 2 Dirk Wiesenthal univentionstaff 2021-05-18 22:24:23 CEST
Always
  --append categories="cn=domain-service,cn=category,cn=portals,cn=univention,$ldap_base"

no matter what on 4.4 update. It does not hurt, it does not fail, at the very most it says
WARNING: cannot append cn=domain-admin,... to categories, value exists

[5.0-0 74fc0a7c93c4f12e2d5686ab729debd5105150f7] Bug #53285: Add cn=services to cn=portal
 2 files changed, 7 insertions(+)

Package: univention-portal
Version: 4.0.5-51A~5.0.0.202105182221
Comment 4 Florian Best univentionstaff 2021-05-25 16:02:58 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".