wintercms / wintercms/wn-builder-plugin

Undefined array key "Standard" on automatic form fields creation from database

Open
#49 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Review Needed Type: Bug
Dominant language
PHP
Stars
40
Forks
15
PR merge metrics
No merged PRs in 30d

Description

"Undefined array key "Standard"" on line 221 of /usr/share/nginx/html/mms/plugins/winter/builder/behaviors/IndexModelFormOperations.php

IndexModelFormOperations.php

Keys have a localized name

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at IndexModelFormOperations.php around line 221 and inspect how localized field names are used when automatic form fields are created from the database. Reproduce the undefined "Standard" key case and verify that form generation no longer raises the error for localized keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.