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

[BUG] - Nested self lookup records are failing. MissingParentRecordsReport.csv is generated #945

Closed
ahmet-eren opened this issue Dec 19, 2024 · 3 comments
Assignees
Labels
bug Something isn't working, looks like a bug to-be-closed The issue is about to be closed

Comments

@ahmet-eren
Copy link

ahmet-eren commented Dec 19, 2024

Describe the bug
Bifrost_Test_System_Exec_Rq_Param_Config__c custom object has Parent_Parameter__c custom lookup field to itself. It is being used as nested records.

To Reproduce
Execute export.json file

Expected behavior
All the records are created/updated in the target org with the right hierarchy.

export.json

{
    "allOrNone": true,
    "excludeIdsFromCSVFiles" : true,
    "objects": [
        {
            "query": "SELECT createable_true FROM Bifrost_Test_System__c",
            "operation": "Upsert",
            "externalId": "Name"
        },
        {
            "query": "SELECT createable_true FROM Bifrost_Test_System_Execution_Config__c",
            "operation": "Upsert",
            "externalId": "Test_System__r.Name;Name"
        },
        {
            "query": "SELECT createable_true FROM Bifrost_Test_System_Exec_Rq_Param_Config__c",
            "operation": "Upsert",
            "externalId": "Test_Execution_Config__r.Name;Name;Parent_Parameter__r.Name;Parent_Parameter__r.Parent_Parameter__r.Name;Parent_Parameter__r.Parent_Parameter__r.Parent_Parameter__r.Name"
        }
    ]
}

Log file
2024-12-18__21_09_33.log

@ahmet-eren ahmet-eren added the bug Something isn't working, looks like a bug label Dec 19, 2024
@hknokh
Copy link
Collaborator

hknokh commented Dec 19, 2024

Hello, @ahmet-eren

Thank you for reporting a bug.
I will take a look at it as soon as possible and let you know of any updates.

Cheers

Copy link

This case has been marked as 'to-be-closed', since it has no activity for the 3 days.
It will be automatically closed in another 3 days of inactivity.

@github-actions github-actions bot added the to-be-closed The issue is about to be closed label Dec 23, 2024
Copy link

This case has been closed, since it has no activity for the last 6 days. Feel free to reopen it, if you need more help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working, looks like a bug to-be-closed The issue is about to be closed
Projects
None yet
Development

No branches or pull requests

2 participants