Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-32157: Added option to choose SA when creating custom alias #1583

Merged
merged 12 commits into from
Nov 12, 2020

Conversation

barw4
Copy link
Member

@barw4 barw4 commented Oct 13, 2020

Question Answer
Tickets https://jira.ez.no/browse/EZP-32157
Bug fix? no
New feature? yes
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Choice of Site Access has been added to the custom URL Alias form to help editors with providing a valid path when using Place at site root option when certain Site Access has parameter content.tree_root.location_id defined.

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@barw4 barw4 self-assigned this Oct 13, 2020
@barw4 barw4 changed the title EZP-31110: Added option to choose SA when creating custom alias [WIP] EZP-31110: Added option to choose SA when creating custom alias Oct 13, 2020
@barw4 barw4 changed the title [WIP] EZP-31110: Added option to choose SA when creating custom alias EZP-31110: Added option to choose SA when creating custom alias Oct 14, 2020
Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this added via listener instead directly to a form? Don't know much about AdminUI architecture...

@barw4
Copy link
Member Author

barw4 commented Oct 28, 2020

Why was this added via listener instead directly to a form? Don't know much about AdminUI architecture...

@alongosz I guess in order to keep it clean. In this form type there are 4 other listeners working exactly the same.

Co-authored-by: DominikaK <dominika.kurek@ez.no>
@barw4 barw4 requested a review from alongosz October 29, 2020 00:14
@barw4 barw4 requested a review from Steveb-p November 3, 2020 08:36
@micszo micszo self-assigned this Nov 6, 2020
@barw4
Copy link
Member Author

barw4 commented Nov 9, 2020

ping @ezsystems/documentation-team

I think this functionality will benefit from some minor description somewhere (in doc or RN).

@barw4 barw4 requested a review from dew326 November 9, 2020 16:05
Co-authored-by: Dariusz Szut <dew326@gmail.com>
@barw4 barw4 requested a review from dew326 November 10, 2020 08:25
@barw4 barw4 changed the title EZP-31110: Added option to choose SA when creating custom alias EZP-32157: Added option to choose SA when creating custom alias Nov 10, 2020
Copy link
Member

@micszo micszo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on eZ Platform EE 2.5 with branch.
Moving to Doc to cover the different combinations.

@micszo micszo removed their assignment Nov 12, 2020
@adamwojs adamwojs merged commit 44f2129 into 1.5 Nov 12, 2020
@adamwojs adamwojs deleted the ezp-31110-alias-with-root-location branch November 12, 2020 11:08
@adamwojs
Copy link
Member

Could yuo please merge up changes @barw4 ?

@barw4
Copy link
Member Author

barw4 commented Nov 12, 2020

Merged into:
2.1: 23d4206
2.2: a145968
master: 3fb24a3

@bjko
Copy link

bjko commented Jan 28, 2021

There are issues with a multi repository setup. If you have the same location ids in both repositories the siteaccesschoicer will display all possible siteaccess even if they are stored in the other repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment