Issue Bug Closed

#90827If you edit the page content element, the "Last Mod." does not change.

Edward A. Gabdullin 03/24/20, 23:00 updated 04/01/25, 16:58

Description

Good afternoon!
If you edit the page properties, then in the sitemap.xml the “Last Mod.” changes. If you edit the page content element, the “Last Mod.” does not change.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 9

  1. Georg Ringer commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2020-03-24T23:26:16+00:00" > 03/24/20, 23:26 </span>

    The field SYS_LASTCHANGED is only updated in the frontend once the page has been rendered. Can you confirm that this is working then for you?

    What I did:
    1. Check lastmod in sitemap
    2. Edit content element on page
    3. Call page in frontend
    4. Check sitemap again
  2. Edward A. Gabdullin commented <span data-processor="relativetime" data-value="2020-03-25T08:58:11+00:00" > 03/25/20, 08:58 </span>

    > What I did:
    > # Check lastmod in sitemap
    > # Edit content element on page
    > # Call page in frontend
    > # Check sitemap again

    Repeated several times according to your instructions. “Last.Mod” does not change.

  3. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2020-07-25T11:18:48+00:00" > 07/25/20, 11:18 </span>

    I think I can confirm this issue with the latest master

    My test procedure

    1) configure the xml sitemap (just the plain one as described here: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Feature-84525-XMLSitemap.html

    2) access the map using a separate browser window (I used incognito mode)

    3) check for a page in the map, for example:

    URL Last Mod. Change freq. Priority
    https://typo3.master.it:8890/one-page 2019-03-25 22:10 +01:00 0.5

    4) go to the backend on the page
    5) change a content element on the page, save

    6) refresh the sitemap

    Result:

    the Last Mod. value does not change

    - I even tried to flush the caches
    - I even tried to set:

    seo_sitemap.config.cache_period = 1

    Is there something I am missing?

  4. Susanne Moog changed Complexity medium Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2022-08-05T13:28:39+00:00" > 08/05/22, 13:28 </span>

  5. Georg Ringer commented and changed status Accepted Closed <span data-processor="relativetime" data-value="2025-04-01T16:58:32+00:00" > 04/01/25, 16:58 </span>

    the field SYS_LASTCHANGED is updated when the page is rendered. there are enough edge cases if this doesn’t happen but that is a different topic.

    works fine if e.g. using <styles.content.get