Skip to content

Ensure models have valid graph slug #7

@chrabyrd

Description

@chrabyrd

Credit to @jakeadolezal for finding this bug and posting about it on the forums.

On the instructions page, it says to load the sample package.

python manage.py packages -o load_package -s https://github.com/archesproject/arches-example-pkg/archive/master.zip -db
When I did, it threw a number of these exceptions, e.g.:

arches.app.models.graph.GraphValidationError: 'You must supply a slug for your graph.'
/Users/jake/arches/durant/_pkg_250907_180001/arches-example-pkg-master/graphs/branches/Title.json

It looks like this package fails with Arches v8+ as none of the models have a ( now required ) slug.

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