Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Journal migration fails #21

Description

@mylittleshorint

Branch or version of remaim used

commit f19ee18a5fbc172fb7642d2bc86d6334d7fa9d3a
Merge: d3f5f2e 0985c16
Author: David Raison <[email protected]>
Date:   Sun Jan 15 17:51:19 2017 +0100

    Merge branch 'development'

User's real names in Phabricator are the same as those in Redmine?
Yes

Is a "project" of type "group" defined in Phabricator?
Yes

Log
Migrating issue 40 - "Tst40"...
Encountered attribute action with unknown fourth case: a:3:{s:8:"property";s:4:"attr";s:4:"name";s:11:"category_id";s:9:"new_value";N;}PHP Notice: Undefined offset: 3 in /opt/bitnami/apps/remaim/src/Journal.php on line 283

Ticket in JSON format which produced the error
{

"issue": {
    "id": 40,
    "project": {
        "id": 40,
        "name": "Tst40"
    },
    "tracker": {
        "id": 5,
        "name": "Default"
    },
    "status": {
        "id": 1,
        "name": "Open"
    },
    "priority": {
        "id": 4,
        "name": "Normal"
    },
    "author": {
        "id": 1,
        "name": "John"
    },
    "assigned_to": {
        "id": 2,
        "name": "Doe"
    },
    "category": {
        "id": 3,
        "name": "PS"
    },
    "fixed_version": {
        "id": 20,
        "name": "Candidate for next release"
    },
    "subject": "$$TestSubject, Test + Test",
    "description": "TestDescription.\r\n\r\nTest 0.00.8 tested = o. g. Werte fehlen.\r\n\r\nTest: Test",
    "done_ratio": 0,
    "custom_fields": [
        {
            "id": 3,
            "name": "MY TEST ID",
            "multiple": true,
            "value": [
                "8 (TestName)"
            ]
        }
    ],
    "created_on": "2017-02-20T11:48:58Z",
    "updated_on": "2017-02-22T09:31:57Z",
    "journals": [
        {
            "id": 50,
            "user": {
                "id": 4,
                "name": "Malcom"
            },
            "notes": "",
            "created_on": "2017-02-21T16:08:51Z",
            "details": [
                {
                    "property": "attr",
                    "name": "category_id",
                    "new_value": "9"
                },
                {
                    "property": "attr",
                    "name": "assigned_to_id",
                    "new_value": "4"
                },
                {
                    "property": "attr",
                    "name": "fixed_version_id",
                    "new_value": "2"
                }
            ]
        },
        {
            "id": 51,
            "user": {
                "id": 3,
                "name": "Sam"
            },
            "notes": "TestNote \"\\\\test\\devel\\Test\\PS\\MyDirectory\\MyNextDir\\\" !",
            "created_on": "2017-02-21T16:30:04Z",
            "details": [
                {
                    "property": "attr",
                    "name": "priority_id",
                    "old_value": "6",
                    "new_value": "4"
                }
            ]
        },
        {
            "id": 52,
            "user": {
                "id": 3,
                "name": "Sam"
            },
            "notes": "@Sam ;: TestNote + Test $$Test testing.",
            "created_on": "2017-02-22T09:31:57Z",
            "details": [
                {
                    "property": "attr",
                    "name": "assigned_to_id",
                    "old_value": "14",
                    "new_value": "7"
                }
            ]
        }
    ]
}

}

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions