Skip to content

Gitify extract overwrites resources with the identical alias #303

@achterbahn

Description

@achterbahn

Summary

Resources are overwritten during Gitify extract when two resources have the same alias

Step to reproduce

  1. Create a resource (ex. pagetitle "test"), save it. -> Alias "test" is generated (ex. with id=1)
  2. Delete created resource
  3. Duplicate deleted resource, open it, give it the same title "test" and save. -> Alias "test" is generated.
  4. `Gitify extract``
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions