Skip to content

Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified" - #19738

Merged
DeepDiver1975 merged 1 commit into
masterfrom
proppatch-lastmodified
Oct 14, 2015
Merged

DeepDiver1975 merged 1 commit into
masterfrom
proppatch-lastmodified

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Fix regression that makes PROPPATCH of mtime work like it did in OC <=
8.0.
The PROPPATCH must be done on the "lastmodified" property.
The "getlastmodified" now return 403 again.

Fixes #19737
Steps here #19737 (comment)

@MorrisJobke @nickvergessen @DeepDiver1975

Fix regression that makes PROPPATCH of mtime work like it did in OC <=
8.0.
The PROPPATCH must be done on the "lastmodified" property.
The "getlastmodified" now return 403 again.
@PVince81 PVince81 added this to the 8.2.1-next-maintenance milestone Oct 13, 2015
@PVince81

Copy link
Copy Markdown
Contributor Author

also @icewind1991

@nickvergessen

Copy link
Copy Markdown
Contributor

I don't understand why you need to change the name of the constant, I guess it's only to be inline with the content of the constant, but nevermind.

Other then that 👍

@rullzer

rullzer commented Oct 13, 2015

Copy link
Copy Markdown
Contributor

Make sense. 👍

Should we have tests in smashbox that verify all known properties? So we can avoid this from happening again.

@PVince81

Copy link
Copy Markdown
Contributor Author

Should we have tests in smashbox that verify all known properties? So we can avoid this from happening again.

Yes, if someone is willing to write said tests

DeepDiver1975 added a commit that referenced this pull request Oct 14, 2015
Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"
@DeepDiver1975
DeepDiver1975 merged commit 28d6da8 into master Oct 14, 2015
@DeepDiver1975
DeepDiver1975 deleted the proppatch-lastmodified branch October 14, 2015 10:49
@PVince81

Copy link
Copy Markdown
Contributor Author

@karlitschek we should backport this to 8.2 and also 8.1 for API-accuracy

@MorrisJobke

Copy link
Copy Markdown
Contributor

@PVince81 Please create the backport for 8.2.1

@MorrisJobke MorrisJobke modified the milestones: 9.0-next, 8.2.1-next-maintenance Oct 14, 2015
@karlitschek

Copy link
Copy Markdown
Contributor

yes. important. please backport

@PVince81

Copy link
Copy Markdown
Contributor Author

stable8.2: #19766

@PVince81

Copy link
Copy Markdown
Contributor Author

stable8.1: #19773

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proppatch lastmodified instead of getlastmodified

6 participants