Skip to content

Conversation

@aman3103
Copy link
Contributor

@aman3103 aman3103 commented Aug 26, 2018

Description

Updating validate_code error message to more understandable form i.e initially it was "Please use only letters (a-z), numbers (0-9) or underscore () in this field, and the first character should be a letter" now it is "Please use only lowercase letters (a-z), numbers (0-9) or underscore () in this field, and the first character should be a letter"

Manual testing scenarios

  1. Navigate to Store->Attributes->Product
  2. Add new attribute
  3. Set Attribute Code to Foo_Bar
  4. Click Save

Fixed Issues (if relevant)

  1. Misleading error in Add Product Attribute screen #17754: Misleading error in Add Product Attribute screen

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Aug 26, 2018

CLA assistant check
All committers have signed the CLA.

@magento-engcom-team
Copy link
Contributor

Hi @aman3103. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me {$VERSION} instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

Copy link
Member

@osrecio osrecio left a comment

Choose a reason for hiding this comment

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

Thanks @aman3103 for your contribution. We will process your PR ASAP.

@aman3103
Copy link
Contributor Author

@magento-engcom-team : May I know why Travis is throwing an error in this PR? I am not able to understand the error.

@ishakhsuvarov ishakhsuvarov added this to the Release: 2.3.1 milestone Sep 18, 2018
@sidolov
Copy link
Contributor

sidolov commented Sep 21, 2018

Hi @aman3103 , looks like you made several commits with the different email than in your GitHub profile. Please, add additional email to your GitHub profile or make a new commits and force push the branch.
Thank you!

@aman3103
Copy link
Contributor Author

@sidolov
I have only one github account setup.
So I need to make some commit first or can just try to push the branch forcefully?

@slavvka
Copy link
Member

slavvka commented Oct 4, 2018

@aman3103 Please add all your emails you used for commits in this PR to your GitHub profile (currently they are gray since they aren't tied up to any GitHub profile). Or you could force-push your fix under your primary email that is tied to your profile.

@aman3103
Copy link
Contributor Author

aman3103 commented Oct 5, 2018

@aman3103 Please add all your emails you used for commits in this PR to your GitHub profile (currently they are gray since they aren't tied up to any GitHub profile). Or you could force-push your fix under your primary email that is tied to your profile.

I have pushed the fix forcefully already, thanks. Is there anything I have to do?

@slavvka
Copy link
Member

slavvka commented Oct 5, 2018

@aman3103 Are you sure that email a*.a*al@ch*th.com used in all your commits added to your profile (User/Settings/Email section)?

@aman3103
Copy link
Contributor Author

aman3103 commented Oct 7, 2018

@aman3103 Are you sure that email a*.a*al@ch*th.com used in all your commits added to your profile (User/Settings/Email section)?

This email is not in working state, as I left that company. So I have forced pushed the changes with my primary email.

@slavvka
Copy link
Member

slavvka commented Oct 8, 2018

@aman3103 Thank you but there's another commit with the other email a*al@w18*f1.local

@aman3103
Copy link
Contributor Author

aman3103 commented Oct 9, 2018

@aman3103 Thank you but there's another commit with the other email a*al@w18*f1.local

Sorry I think when I did the last commit it automatically took the email from my local git user as no user and email was setup on my system. Please let me know how to solve this one.
Thanks.

@slavvka
Copy link
Member

slavvka commented Oct 9, 2018

@aman3103 please either add this email to you GitHub profile or squash and force-push your branch. Please make all commits to GitHub with the name and email that is registered in GitHub account

@aman3103
Copy link
Contributor Author

@aman3103 please either add this email to you GitHub profile or squash and force-push your branch. Please make all commits to GitHub with the name and email that is registered in GitHub account

@aman3103 please either add this email to you GitHub profile or squash and force-push your branch. Please make all commits to GitHub with the name and email that is registered in GitHub account

Sure, I will take care about the commits in future. But I cannot add the email as that email you have mentioned was the fake which added by my system when committing based on my local username.
When I try to squash I am getting this error:
error: commit b6a899f is a merge but no -m option was given.
Could not apply b6a899f...
I am doing something like this:
pick b6a899f
squash 19e39084263 making commit to push branch forcefully

Is there anything wrong in this or anything wrong with my last to last commit?

@slavvka
Copy link
Member

slavvka commented Oct 10, 2018

@aman3103 you could create a patch (diff) based on your changes, reset your branch to the state before you made any changes, merge the mainline code and push the commit with all your changes.

@aman3103
Copy link
Contributor Author

@aman3103 you could create a patch (diff) based on your changes, reset your branch to the state before you made any changes, merge the mainline code and push the commit with all your changes.

I have removed the old commit as I have created that one just to force push the branch, don't know why travis is throwing the error. Is it because I have removed the commit?

@magento-engcom-team
Copy link
Contributor

Hi @slavvka, thank you for the review.
ENGCOM-3165 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

Hi @aman3103. Thank you for your contribution.
We will aim to release these changes as part of 2.3.1.
Please check the release notes for final confirmation.

@aman3103
Copy link
Contributor Author

Hi @aman3103. Thank you for your contribution.
We will aim to release these changes as part of 2.3.1.
Please check the release notes for final confirmation.

Thanks. Release note seems fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants