Skip to content

MQE-910: [GitHub] The property of the parent element is used first when making a request #250

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

Merged
merged 6 commits into from
Nov 27, 2018

Conversation

jilu1
Copy link
Contributor

@jilu1 jilu1 commented Oct 10, 2018

Description

Fixed Issues (if relevant)

  1. magento/magento2-functional-testing-framework#<issue_number>: Issue title
  2. ...

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/verification tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)
  • Changes to Framework doesn't have backward incompatible changes for tests or have related Pull Request with fixes to tests

@coveralls
Copy link

Coverage Status

Coverage increased (+7.3%) to 64.696% when pulling b153bf4 on MQE-910-develop into 59524a1 on develop.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+7.3%) to 64.696% when pulling b153bf4 on MQE-910-develop into 59524a1 on develop.

@coveralls
Copy link

coveralls commented Oct 10, 2018

Coverage Status

Coverage decreased (-0.1%) to 57.221% when pulling def54b2 on MQE-910-develop into 070dbeb on develop.

@magento-engcom-team magento-engcom-team deleted the MQE-910-develop branch November 9, 2018 11:28
@VladimirZaets VladimirZaets restored the MQE-910-develop branch November 9, 2018 14:00
@VladimirZaets VladimirZaets reopened this Nov 9, 2018
Copy link
Contributor

@KevinBKozan KevinBKozan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes seem to work well with backwards compatiblity, but are just very hard to read. Need some commenting.

$paramEntityParent = "";
$matchedParent = [];
$dataItem = $matchedParams[1][$paramKey];
preg_match_all("/(.+?)\./", $dataItem, $matchedParent);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comment:
Try to find "type." in "type.field"

$dataItem = $matchedParams[1][$paramKey];
preg_match_all("/(.+?)\./", $dataItem, $matchedParent);

if (!empty($matchedParent) && !empty($matchedParent[0])) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comment:
Assign entity "type" for filtering, remove "type." from parameter

@jilu1 jilu1 merged commit a304e8e into develop Nov 27, 2018
@jilu1 jilu1 deleted the MQE-910-develop branch November 27, 2018 21:36
magento-devops-reposync-svc pushed a commit that referenced this pull request Dec 6, 2022
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

Successfully merging this pull request may close these issues.

6 participants