Bug 33253 - Module specific autosearch UCR settings do not overwrite the generic autosearch UCR settings
Module specific autosearch UCR settings do not overwrite the generic autosear...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 4.4
Other Linux
: P5 minor (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-11 15:54 CET by Lukas Walter
Modified: 2020-07-03 09:32 CEST (History)
4 users (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?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
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 Lukas Walter univentionstaff 2013-11-11 15:54:26 CET
Noticed during the UDM product tests:

When directory/manager/web/modules/autosearch is set to 1 and directory/manager/web/modules/groups/group/autosearch is set to 0, autosearch is still executed when opening the groups/group module.
Comment 1 Stefan Gohmann univentionstaff 2013-11-22 06:53:47 CET
Are the module-specific autosearch variables still supported?
Comment 2 Dirk Wiesenthal univentionstaff 2013-11-22 10:18:58 CET
Yes it is:

directory/manager/web/modules/group/groups/*search*/autosearch=1 should work (without the *, of course)
Comment 3 Dirk Wiesenthal univentionstaff 2013-11-22 10:22:58 CET
It is even documented like that. But I agree, the "/search/" in the middle of the name is not very intuitive when the global autosearch does not have that
Comment 4 Alexander Kläser univentionstaff 2013-11-22 10:23:04 CET
(In reply to Stefan Gohmann from comment #1)
> Are the module-specific autosearch variables still supported?

Yes. The logic for evaluating the UCR variables has not considered this case:

> this._autoSearch = this._ucr['directory/manager/web/modules/' + this.moduleFlavor + '/search/autosearch'] ||
>     this._ucr['directory/manager/web/modules/autosearch'];
Comment 5 Alexander Kläser univentionstaff 2013-12-05 13:46:41 CET
*** Bug 33664 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Gohmann univentionstaff 2019-01-03 07:30:46 CET
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
Comment 7 Ingo Steuwer univentionstaff 2020-07-02 16:16:59 CEST
I assume this hasn't changed in UCS 4.4, but haven't tested it yet.