sulu/SuluArticleBundle

URL cannot be refreshed automatically

speex404 opened this issue · 2 comments

Q A
Bug? yes
New Feature? no
SuluArticleBundle Version 2.3
Sulu Version 2.3

Actual Behavior

When changing the title, the button to refresh the url remains grayed out.

Expected Behavior

When changing the title, the button should become active and when selecting it, the url should be refreshed.

image

Hey,
thanks for reaching out. Refreshing an URL is only possible when using live generation (see #514 (comment)).

At the moment, the default configuration of the bundle generates the URL based on the ArticleDocument instance after save. This allows to include things like the id of an article in the generated URL, but it prevents live generation. If you do not need data that is only available after save, you can change your configuration like described in #514 (comment).

Thanks for creating this! We adjusted the default configuration to allow for refreshing in #581 🙂