Summary
Resources are overwritten during Gitify extract when two resources have the same alias
Step to reproduce
- Create a resource (ex. pagetitle "test"), save it. -> Alias "test" is generated (ex. with id=1)
- Delete created resource
- Duplicate deleted resource, open it, give it the same title "test" and save. -> Alias "test" is generated.
- `Gitify extract``
- Result: only one resource is extracted. Acutally both are extracted but since the name of the export file
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