Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
453 stars 598 forks source link

Redirect status code is not retaining its value in the dialog after authoring #3423

Open rk-ravikumar opened 1 week ago

rk-ravikumar commented 1 week ago

Required Information

Expected Behavior

Please describe briefly the expected behavior, i.e. when I do X, Y should happen.

When authoring a redirect manager dialog and selecting a status code from the dropdown menu, the selected option should remain consistent and be displayed as the same when the dialog is accessed again.

Actual Behavior

Please describe briefly the actual behavior, i.e. when I do X, Z happens. When authoring a redirect manager dialog, and selecting any status code from the dropdown menu (302, 301, 307, 308), and then closing the dialog, the following behavior is observed:

Upon reopening the dialog, the status code dropdown always defaults to the first option, which is 302. However, the redirect page or CRX node correctly reflects the initially selected status code.

Steps to Reproduce

Starting from a vanilla instance of AEM at the above version, describe in explicit steps how to reproduce. Link to any supporting assets, e.g. content packages, below

  1. Select redirect manager from acs commons Link: http://localhost:4502/apps/acs-commons/content/redirect-manager.html/conf/global/settings/redirects

  2. Click on Redirect Configuration button and author the dialog with any status code apart from 302.

  3. Close the dialog.

  4. Click on Edit icon and check the selected value of status code.

Links

Links to related assets, e.g. content packages containing test components

pic 100 pic 101 pic 102
YegorKozlov commented 1 week ago

I confirmed the issue. It's only reproducible in AEM Cloud setups, AEM 6.5+ is good.

I guess something has changed in the Coral UI, it used to work.