Bug 44093 - add a script to rebuild settings/portal_entry objects from UCRVs ucs/web/overview/...
add a script to rebuild settings/portal_entry objects from UCRVs ucs/web/over...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on: 42175
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-27 17:12 CEST by Dirk Wiesenthal
Modified: 2020-07-03 20:55 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.011
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:
best: Patch_Available+


Attachments
Script to "repair" settings/portal_entry based on current, local UCR (2.54 KB, patch)
2017-03-27 17:12 CEST, Dirk Wiesenthal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2017-03-27 17:12:21 CEST
Created attachment 8658 [details]
Script to "repair" settings/portal_entry based on current, local UCR

When
  ucr set ucs/web/overview/admin/$id/link=
fails to create/modify a UDM object for some reason, there is no "backlog" or something like that. The change is just lost. Setting this variable again would trigger the creation/modification again, but this is not user friendly and not script friendly if one wants a "reset".

Adding a script that rebuilds all entries from the UCRVs would be nice.

Note that it can only create and modify existing entries. Unsetting a UCRV should have deleted an entry. If this fails, there is no connection to the portal_entry and it lives until someone manually deletes it from LDAP. UCR cannot "redo" this.

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

There should be a graphical user interface to add links to the new portal site.
Comment 1 Ingo Steuwer univentionstaff 2020-07-03 20:55:53 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.