Skip to content

Issue resolved #19607. Page Not Found when deleting Attribute Set #19614

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

Closed
wants to merge 0 commits into from
Closed

Issue resolved #19607. Page Not Found when deleting Attribute Set #19614

wants to merge 0 commits into from

Conversation

cedcommerce
Copy link

@cedcommerce cedcommerce commented Dec 7, 2018

Description (*)

Page Not Found when deleting Attribute Set

Fixed Issues (if relevant)

  1. magento/magento2 Magento 2.3. Page Not Found when deleting Attribute Set #19607: Page Not Found when deleting Attribute Set

Manual testing scenarios (*)

  1. Delete a product attribute set.

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/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Dec 7, 2018

CLA assistant check
All committers have signed the CLA.

@magento-engcom-team
Copy link
Contributor

Hi @cedcommerce. 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 2.3-develop instance - deploy vanilla Magento instance

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

@sivaschenko
Copy link
Member

Hi @cedcommerce , thanks for the contribution. Delete operation should be performed using post request. So I think it is the actual request that is incorrect, not the controller marker.

Could you please take a look if it's possible to update the delete button here:

$this->getToolbar()->addChild(
'delete_button',
\Magento\Backend\Block\Widget\Button::class,
[
'label' => __('Delete'),
'onclick' => 'deleteConfirm(\'' . $this->escapeJs(
__(
'You are about to delete all products in this attribute set. '
. 'Are you sure you want to do that?'
)
) . '\', \'' . $this->getUrl(
'catalog/*/delete',
['id' => $setId]
) . '\')',
'class' => 'delete'
]
);

It might requeire some update to javascript here:

@cedcommerce
Copy link
Author

ok @sivaschenko , i am checking the same. as it was a get request that's why i made changes on controller.I will update soon.

@cedcommerce cedcommerce closed this Dec 8, 2018
magento-engcom-team added a commit that referenced this pull request Dec 12, 2018
…ibute Set #19614 #19633

 - Merge Pull Request #19633 from cedcommerce/magento2:2.3-develop
 - Merged commits:
   1. 144b028
magento-engcom-team added a commit that referenced this pull request Dec 12, 2018
…ibute Set #19614 #19633

 - Merge Pull Request #19633 from cedcommerce/magento2:2.3-develop
 - Merged commits:
   1. 144b028
   2. 21f7afa
magento-engcom-team added a commit that referenced this pull request Dec 12, 2018
Accepted Public Pull Requests:
 - #19198: [2.3] Made logo clickable on home page (by @gwharton)
 - #19696: Add EngCom Slack info to README and formatting (by @lorikrell)
 - #19493: Fix issue 19492 - Catalog Product - Customizable Options label alignment issue  (by @speedy008)
 - #19684: Correct spelling (by @ravi-chandra3197)
 - #19673: fix: immediately return value (by @DanielRuf)
 - #19633: Issue resolved #19607. Page Not Found when deleting Attribute Set #19614 (by @cedcommerce)
 - #19640: Fixed icon alignment: Frontend Component theme sort by arrow icon vertical alignment issue. #19639 (by @suryakant-krish)
 - #18124: Clean code (by @hryvinskyi)
 - #19038: #18990: Shipping address is not validated in checkout… (by @StasKozar)


Fixed GitHub Issues:
 - #19142: Home page store loge should be clickable to reload page (reported by @tomekjordan) has been fixed in #19198 by @gwharton in 2.3-develop branch
   Related commits:
     1. f6a6d11
     2. 99c4d00

 - #19492: Catalog Product - Customizable Options label alignment issue (reported by @speedy008) has been fixed in #19493 by @speedy008 in 2.3-develop branch
   Related commits:
     1. f63ed89

 - #19607: Magento 2.3. Page Not Found when deleting Attribute Set (reported by @Rjgoolsby) has been fixed in #19633 by @cedcommerce in 2.3-develop branch
   Related commits:
     1. 144b028
     2. 21f7afa

 - #19639: Frontend Component theme sort by arrow icon vertical alignment issue. (reported by @suryakant-krish) has been fixed in #19640 by @suryakant-krish in 2.3-develop branch
   Related commits:
     1. e567510

 - #18990: Shipping address is not validated in checkout when proceeding step as logged in user with default shipping address (reported by @DanieliMi) has been fixed in #19038 by @StasKozar in 2.3-develop branch
   Related commits:
     1. 43e2c4d
     2. b545997
     3. 66c1155
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.

4 participants