typo3-realurl icon indicating copy to clipboard operation
typo3-realurl copied to clipboard

Different behaviour by using unique aliases

Open rreichen opened this issue 7 years ago • 2 comments

In former versions (< 2.1.8) while saving a tt_news object at that time the title was written to table tx_realurl_uniqalias and the field value_alias could be manually changed there. Requesting the tt_news object in FE shows the changed URL and simultaneously it was written to table tx_realurl_urldata with that changed URL. Now in version 2.1.9 the behaviour is different. The title of a tt_news object is written not before requesting it by old URL in FE and simultaneously it is written to table tx_realurl_urldata with old URL. Changes of field value_alias in table tx_realurl_uniqalias have no effect unless deleting related datasets in table tx_realurl_urldata. This behaviour is circumstantial.

My versions are: php: 5.5.14 TYPO3: 7.6.16 realurl: 2.1.9

rreichen avatar Mar 20 '17 15:03 rreichen

Could you re-phrase it. I do not really understand this report.

dmitryd avatar Apr 08 '17 11:04 dmitryd

Changing an existing tt_news object the expire date ist set in table tx_realurl_uniqalias with a delay of 30 days. At line 124 in program Classes/Cache/DatabaseCache.php this value is fixed ($expirationTime = time() + 302460*60;). This would be a good thing to make this fixed value flexible with a configurable parameter in config file (realurl_conf.php). Then I would configure that parameter to 0 for getting a direct change in table tx_realurl_uniqalias.

My versions are intermediate: php: 5.5.14 TYPO3: 7.6.18 realurl: 2.2.0

rreichen avatar May 04 '17 14:05 rreichen