Open achterbahn opened 5 years ago
As multiple resources with the same alias can't show up in the front-end, that's sort of an invalid condition to begin with.
I'm also not sure how that could be prevented. That would mean stepping away from the alias (/URI) for the primary key on the content, which is a key thing.
We had the problem with a end user of MODX who did exactly how I described it. The other solution of not letting this happen is to prevent that resources have the same alias in any case (even with deleted resources). With key thing you mean breaking changes?
With key thing I mean that the whole point of using the alias as primary key, is that it doesn't have to use the ID... so it can handle ID conflicts and such better.
Summary
Resources are overwritten during
Gitify extract
when two resources have the same aliasStep to reproduce
test.html
is built with only the alias, it will be overwritten. One resource will be lost.Observed behavior
Resources with the same alias will be overwritten.
Expected behavior
Resources should not be overwritten if they have the same alias.
Environment
Gitify 0.12.0, MODX 2.7.2, LAMP Stack