Last Modified field not getting updated.

Hello,

We are currently utilizing SDK 2022 R1 for our project.

However, we have noticed that when we modify camera roles or role settings using the Management Client, the “Last modified” field is not updated. We expected this field to be updated whenever any field is modified, as it would be useful for us to track the last modified date and take appropriate actions accordingly.

Could you please explain why this behavior is occurring and if there is a way to ensure that the “Last modified” field is updated when making such modifications?

Thank you,

Team Vega

I would add, I don’t see a “Last modified” field at all.

This makes me think that I have misunderstood. Can you please show me what field should reflect the changes? Perhaps you can make a screen capture from the Management Client (or from the Config API Client) showing me the relevant field.

Another interpretation is that there is no “Last modified” field at all but you think there should be one, is this what you are saying?

PFA

Any update on this?

The last modified on the role is changed when properties on the ‘info’ tab are changed.

There are discussions whether the implemented behaviour should be changed in future version, I cannot say when, or even if, a change will be developed.

Hi @Bo Ellegård Andersen (Milestone Systems)​ ,

We also see the Last modified field gets updated when we change camera information, PTZ, streams, and settings but not updated when we change motion, privacy masking, and events in the same camera tab using the ConfigApi Sample tool

Thanks,

Vikas.

Your observation is correct. It has to do with how the underlying objects are stored in the SQL Database and are tied into the Configuration API, this means there is no easy fix. Milestone Development have made a note so they can consider how they might improve this in future versions, but there will be no fix for current or past versions.