Skip to content

Make UI Components Form "templates/form/collapsible" default value for "template" and/or give better errors #35691

Open
@FYvwotschel

Description

@FYvwotschel

Summary (*)

If you forget to include the "template" item in the "data" argument, you'll get an infinite spinner. Turning on advanved logging in the console, still gives you an unclear message: Could not get the requested "myuicomponent_index_form.areas" component.

Proposed solution

  • Add better error message
  • Set the "template" item with a default value of "templates/form/collapsible"

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users with no workaround.
    Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
    Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
    Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
    Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Activity

added
Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
on Jun 28, 2022
m2-assistant

m2-assistant commented on Jun 28, 2022

@m2-assistant

Hi @FYvw. Thank you for your report.
To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

engcom-Echo

engcom-Echo commented on Jul 12, 2022

@engcom-Echo
Contributor

Hello @FYvw,

Thanks for the report and collaboration !
we have tried to reproduce this issue in Magento 2.4-develop branch and the issue is reproducible for us. we have followed the below steps in order to reproduce the issue.

  1. Edit this file app/code/Magento/Catalog/view/adminhtml/ui_component/category_form.xml, and make the comment on line number 14
  2. Run php bin/magento setup:upgrade.
  3. Navigate to category page in admin panel.

Screenshot 2022-07-12 at 9 11 03 PM

Hence we are confirming this issue.

Thanks

added
Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch
Priority: P2A defect with this priority could have functionality issues which are not to expectations.
on Jul 12, 2022
github-jira-sync-bot

github-jira-sync-bot commented on Jul 12, 2022

@github-jira-sync-bot

✅ Jira issue https://jira.corp.magento.com/browse/AC-5931 is successfully created for this GitHub issue.

m2-assistant

m2-assistant commented on Jul 12, 2022

@m2-assistant

✅ Confirmed by @engcom-Echo. Thank you for verifying the issue.
Issue Available: @engcom-Echo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

artskirk

artskirk commented on Jul 15, 2022

@artskirk

@magento I am working on this

added a commit that references this issue on Jul 18, 2022

Issue magento#35691 Make UI Components Form "templates/form/collapsib…

moved this to Pull Request In Progress in High Priority Backlogon Aug 19, 2024
engcom-November

engcom-November commented on Oct 8, 2024

@engcom-November
Contributor

As this is a old issue, tried to reproduce this in latest magento 2.4-develop, and it's still reproducible.
Followed steps as mentioned here.
Please take a look at the screenshot below:
image

Hence reconfirming this.

Thank you.

added
Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Reported on 2.4.xIndicates original Magento version for the Issue report.
and removed
Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmed
on Oct 8, 2024
github-jira-sync-bot

github-jira-sync-bot commented on Oct 8, 2024

@github-jira-sync-bot

❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-5931

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

Metadata

Metadata

Assignees

Labels

Area: FrameworkComponent: AdminIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

Status

Pull Request In Progress

Milestone

No milestone

Relationships

None yet

    Participants

    @engcom-Echo@artskirk@engcom-November@FYvwotschel@github-jira-sync-bot

    Issue actions

      Make UI Components Form "templates/form/collapsible" default value for "template" and/or give better errors · Issue #35691 · magento/magento2