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

REST doesn't return any of the inputfields #12

Closed
ChatoDeVeirman opened this issue May 4, 2019 · 2 comments
Closed

REST doesn't return any of the inputfields #12

ChatoDeVeirman opened this issue May 4, 2019 · 2 comments

Comments

@ChatoDeVeirman
Copy link

Hello,

When I try to add a category it gives me

Error while syncing object: 12484 with instance: http://localhost for store view: 1. Message: An error occurred while insert/update category "12484": Notice: Undefined index: name in /var/www/html/app/code/Divante/PimcoreIntegration/Http/Response/Transformator/CategoryUpdateTransformator.php on line 67

After some more research and browsing the rest api, I found out that the elements data is empty.

Rest api get request:

http://localhost/webservice/rest/category?id=12484&status=SUCCESS&message=Test&instanceUrl=http://localhost&storeViewId=1&apikey=KEY

Response:

{
    "data": {
        "12484": {
            "path": "/",
            "creationDate": 1556956347,
            "modificationDate": 1556960424,
            "userModification": 19,
            "elements": {},
            "className": "integrationCategory",
            "id": 12484,
            "parentId": 12474,
            "key": "cat99",
            "published": true,
            "type": "object",
            "userOwner": 19,
            "properties": {
                "synchronize-status": {
                    "name": "synchronize-status",
                    "data": "ERROR",
                    "type": "text",
                    "inheritable": null,
                    "inherited": null
                }
            },
            "index": null,
            "isRoot": true
        }
    },
    "missing_objects": [],
    "success": true
}
@mbolka
Copy link
Contributor

mbolka commented Jul 19, 2019

@PandaCrafter1 We have updated the version and solved multiple issues. As we were not able to reproduce your issue, could you please re-test and confirm if the issue still occurs?

@mbolka
Copy link
Contributor

mbolka commented Sep 30, 2019

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version.

Please reopen if you still encounter this issue with the 1.2.0 and then please ireport issue. You can also contribute directly by providing a patch.
Thank you!

@mbolka mbolka closed this as completed Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants