-
Notifications
You must be signed in to change notification settings - Fork 607
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
Redirect Manager : Add "Effective From" field #2977
Comments
@thcharan It is certainly doable. Also, "Effective From" and "Redirect Until" are mutually exclusive. I'm thinking about a radio button to switch between two. |
Good idea, that't right. we should split that in to two tabs. Effective Date and Redirect Until Date can always be used in combination, below are the use cases - Case 1) An author can create a redirect rule where ( Effective Date = EMPTY and RedirectUntil Date = EMPTY ) and publishes the rule. Case 2) An author can create a redirect rule where ( Effective Date = FUTURE DATE and RedirectUntil Date = EMPTY ) and publishes the rule. Case 3) An author can create a redirect rule where ( Effective Date = EMPTY and RedirectUntil Date = FUTURE DATE ) and publishes the rule. Case 4) An author can create a redirect rule where ( Effective Date = FUTURE DATE and RedirectUntil Date = FUTURE DATE ) and publishes the rule. Edge Cases - Case 5) If an author creates a redirect rule where ( Effective Date = CURRENT DATE OR PAST DATE and RedirectUntil Date = EMPTY ) and publishes the rule. Case 6) If an author creates a redirect rule where ( Effective Date = EMPTY and RedirectUntil Date = PAST DATE OR CURRENT DATE ) and publishes the rule. Pseudo logic - Hope that helps. |
@thcharan thanks for the use cases. I'll include them in junits. |
@YegorKozlov Cool. :) |
* #2977 Redirect Manager : Add Effective From field
Required Information
@davidjgonzalez @YegorKozlov
This is not a bug, but a request for enhancement for Redirect Manager for (AEM-Cloud-Service).
Expected Behavior
In the current state, we have the field "Redirect Until" which acts as an "Expiry Date" for the redirect.
In addition to above, it would be great to add an additional field "Effective From" which acts as "Redirect Go Live Date".
This really helps, where many campaign redirects are planned ahead of time, the redirect rules can be setup ahead of time and published with this effective date.
The servlet filter will only pick up this rule on once effective date is met. This will help automate the whole process of "setup ahead of time" and the redirect becomes automatically live on a future date.
Key Changes required -
The text was updated successfully, but these errors were encountered: