Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEVER-Bundle: "changed" does not have an effect #5770

Open
jone opened this issue Jul 2, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jone
Copy link
Member

commented Jul 2, 2019

I have create a GEVER-Bundle with documents setting the "changed" attribute as documented in the schema ( https://docs.onegovgever.ch/dev-manual/oggbundle/#documents-schema-json ).

Example:

    {
        "changed": "2006-01-16T12:10:11.000+0100",
        "description": "...",
        "document_author": "hugo.boss",
        "document_date": "2006-01-16",
        "filepath": "documents/x.doc",
        "guid": "example-doc",
        "parent_guid": "example-dossier",
        "receipt_date": "2006-01-16",
        "review_state": "document-state-draft",
        "title": "Example document title"
    }

I've imported the bundle with ./bin/instance1 import --skip-solr path/to/bundle.

Expected: "Zuletz verändert" to be "16.01.2006 12:10"
Got: date / time when the bundle was imported

Note: please verify that this is a bug and that I didn't use the bundle import in a wrong way.

@jone jone added the Bug label Jul 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.