- Issue created by @tim.plunkett
- First commit to issue fork.
- First commit to issue fork.
- last update
over 1 year ago Custom Commands Failed - @narendrar opened merge request.
- last update
over 1 year ago 29,291 pass, 33 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,196 pass, 76 fail - last update
over 1 year ago 29,205 pass, 74 fail - last update
over 1 year ago 29,205 pass, 74 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,247 pass, 48 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago 29,248 pass, 46 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,253 pass, 46 fail - last update
over 1 year ago 29,253 pass, 46 fail - last update
over 1 year ago 29,300 pass, 36 fail - last update
over 1 year ago 29,301 pass, 34 fail - last update
over 1 year ago 29,301 pass, 34 fail - First commit to issue fork.
- last update
over 1 year ago 29,302 pass, 32 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,302 pass, 32 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,331 pass, 18 fail - last update
over 1 year ago 29,335 pass, 15 fail - last update
over 1 year ago 29,317 pass, 13 fail - last update
over 1 year ago 29,340 pass, 11 fail - last update
over 1 year ago 29,345 pass, 7 fail - last update
over 1 year ago 29,324 pass, 16 fail - last update
over 1 year ago 29,363 pass, 6 fail - last update
over 1 year ago 29,383 pass, 4 fail - last update
over 1 year ago 29,382 pass, 6 fail - last update
over 1 year ago 29,385 pass, 4 fail - last update
over 1 year ago 29,388 pass - Status changed to Needs review
over 1 year ago 7:54am 19 May 2023 - Status changed to Needs work
over 1 year ago 6:44pm 19 May 2023 - 🇺🇸United States smustgrave
Since this broke so many tests that had to be fixed seems like we could be introducing a breaking change for some modules. Think a change record could be required.
- 🇨🇭Switzerland berdir Switzerland
A lot of the test changes look super weird at first glance but looking closer, they mostly seem to have relied on quirks of half-saved fields and so on, so that seems quite OK.
Left one comment about a dependency between field and field_ui modules.
Didn't review the field UI changes yet properly, that seems quite complex. I suppose the tempstore business is probably temporary until the other issue then fully merges those forms together?
- last update
over 1 year ago 29,388 pass - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass 8:46 5:43 Running- last update
over 1 year ago 29,367 pass, 7 fail - last update
over 1 year ago 29,394 pass, 2 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,391 pass, 4 fail - last update
over 1 year ago 29,385 pass, 4 fail - last update
over 1 year ago 28,657 pass, 182 fail - last update
over 1 year ago 28,657 pass, 182 fail - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7
6:53 6:36 Queued - last update
over 1 year ago 29,395 pass - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Posted an initial review.
This issue would really benefit from an issue summary that summarizes what the architectural changes are, and why those make sense. That'd greatly simplify and accelerate the review process!
- last update
over 1 year ago 29,396 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,389 pass, 4 fail - last update
over 1 year ago 29,399 pass - Status changed to Needs review
over 1 year ago 4:36pm 26 May 2023 - 🇫🇮Finland lauriii Finland
Describing the API changes in the issue summary 👍
- last update
over 1 year ago 29,278 pass, 44 fail - last update
over 1 year ago 29,359 pass, 10 fail - last update
over 1 year ago 29,399 pass - Status changed to Needs work
over 1 year ago 5:58pm 1 June 2023 - 🇺🇸United States smustgrave
From what I can tell the first and last thread still need to be addressed.
- 🇫🇮Finland lauriii Finland
I went through the comments and looks like most of them are addressed. I think we still need to address the feedback regarding the redirects: https://git.drupalcode.org/project/drupal/-/merge_requests/3926#note_176826
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,391 pass, 4 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,415 pass - Status changed to Needs review
over 1 year ago 6:14am 7 June 2023 - Status changed to Needs work
over 1 year ago 3:19pm 8 June 2023 - 🇺🇸United States smustgrave
Appear to be 2 open threads still.
Did do some light testing.
Added a field and made it all the way to the last step before clicking out of the field save page.
Added a field again with same machine name and the name was not taken so it allowed me to continue.
Was still able to create fields without issue. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,418 pass, 2 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,419 pass, 2 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,437 pass - last update
over 1 year ago 29,437 pass - Status changed to Needs review
over 1 year ago 10:52am 22 June 2023 - Status changed to Needs work
over 1 year ago 5:10pm 22 June 2023 - Status changed to Needs review
over 1 year ago 1:15pm 23 June 2023 - 🇺🇸United States tim.plunkett Philadelphia
Discussed with @bnjmnm, @narendraR, @srishtiiee, and @Utkarsh_33 and we agreed that a change record was not necessary. The form structure is not meaningfully changing in a way that outside consumers (e.g. alter hooks) would need to alter their code at all.
- First commit to issue fork.
- last update
over 1 year ago Custom Commands Failed - Status changed to Needs work
over 1 year ago 7:27pm 23 June 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
This could use test coverage that checks the tempstores are updated as expected after various UI interactions.
- last update
over 1 year ago 29,437 pass 31:56 0:17 Running- last update
over 1 year ago 29,552 pass, 2 fail - last update
over 1 year ago 29,555 pass - last update
over 1 year ago 29,501 pass, 18 fail - last update
over 1 year ago 29,552 pass, 2 fail - last update
over 1 year ago 29,555 pass - last update
over 1 year ago 29,561 pass - Status changed to Needs review
over 1 year ago 2:26am 28 June 2023 - Status changed to RTBC
over 1 year ago 2:10pm 28 June 2023 - 🇺🇸United States smustgrave
Did the same test as before
Added a field and made it all the way to the last step before clicking out of the field save page.
Added a field again with same machine name and the name was not taken so it allowed me to continue.
Was still able to create fields without issue.Still convince this will need a change record though. Can see a lot of modules are going to have to update their tests now
- Status changed to Needs work
over 1 year ago 2:53pm 28 June 2023 - 🇫🇮Finland lauriii Finland
I agree with @smustgrave that this needs a change record. 👍
- 🇷🇴Romania amateescu
I've read through this MR and tbh I really can't see how it helps 📌 Combine field storage and field instance forms Fixed . All these little hacks that are added all over the place seem to just create more work for the followup, since that one is supposed to clean up most of the changes done here.
- 🇫🇮Finland lauriii Finland
Discussed with @amateescu on Slack to explain why we want to do the extra work to separate this work from 📌 Combine field storage and field instance forms Fixed . It seems that the plan itself makes sense after a bit of explanation.
The main remaining concern is that we want to make sure that we have a solid plan to get rid of the hacks introduced here. To make reviewing this and ✨ Make field selection less overwhelming by introducing groups Fixed easier, it would be really helpful if we could add
@todo remove in #3356894
comments to places we definitely want to consider removing there. This way as we review this issue, we know which parts we expect to stay and which parts are expected to be removed. This also helps us check that all of the places we intended to remove, were indeed removed. - last update
over 1 year ago 29,668 pass, 44 fail - last update
over 1 year ago 29,772 pass, 10 fail - last update
over 1 year ago 29,803 pass - last update
over 1 year ago 29,803 pass - last update
over 1 year ago 29,803 pass - last update
over 1 year ago 29,803 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,804 pass - 🇺🇸United States tedbow Ithaca, NY, USA
Started my review.
I think we can use type declaration for all class properties so please update those. I commented on a bunch.
Still getting my head around this.
- 🇺🇸United States tedbow Ithaca, NY, USA
@narendraR. I am still looking at this MR but I think there is some stuff that can already be addressed in my review. I will look at it more tomorrow also.
thanks
- last update
over 1 year ago 29,803 pass, 2 fail - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Per https://git.drupalcode.org/project/drupal/-/merge_requests/3926#note_189783, AFAICT this is blocked on #2327883 — see #2327883-33: Field [storage] config have incomplete settings until they are saved → .
- last update
over 1 year ago 29,814 pass - last update
over 1 year ago 29,818 pass - last update
over 1 year ago 29,818 pass - last update
over 1 year ago 29,818 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,802 pass, 6 fail - last update
over 1 year ago 29,825 pass - last update
over 1 year ago 29,829 pass - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 29,880 pass - last update
over 1 year ago 29,881 pass - Status changed to Needs review
over 1 year ago 9:09am 24 July 2023 - last update
over 1 year ago 29,745 pass, 59 fail - last update
over 1 year ago 29,846 pass, 14 fail - last update
over 1 year ago 29,884 pass - last update
over 1 year ago 29,874 pass, 4 fail - last update
over 1 year ago CI aborted - last update
over 1 year ago 29,877 pass, 4 fail - Status changed to Needs work
over 1 year ago 10:28pm 26 July 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Left a review, and Wim has too. Updating status, although 'Active' would also be appropriate
- last update
over 1 year ago 29,881 pass, 4 fail - last update
over 1 year ago CI aborted - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,889 pass - last update
over 1 year ago 29,884 pass, 1 fail - 🇫🇮Finland lauriii Finland
This issue is essentially blocked by 🐛 Field [storage] config have incomplete settings until they are saved Fixed as discussed with @larowlan and @Wim Leers in the MR. The tests continue to pass because we are hardcoding the field config related normalization in Field UI, but to keep the solution generic enough for contrib, the blocker needs to be resolved before we can land this. Let's continue working on the MR to make sure that every other aspect of this is ready to go once the blocker has been resolved. 😊
- 🇫🇮Finland lauriii Finland
We should update the issue summary with the changes to the approach.
- last update
over 1 year ago 29,889 pass - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
This is looking far cleaner already! 🤩
I think there's only one hard blocker left: the Dynamic Entity Reference concern that @larowlan raised. That's impossible/does not make sense to solve here, it must be solved in 🐛 Field [storage] config have incomplete settings until they are saved Fixed . Three of the 12 remaining comment threads on the MR are about this! For that reason I'm tempted to prefix the title with
[PP-1]
and change the status to .However, let's get this issue as ready as possible before doing that: let's get this "pre-RTBC", with the only needed remaining change being the removal of ~20 LoC from
FieldConfigAddController::fieldConfigAddConfigureForm()
once 🐛 Field [storage] config have incomplete settings until they are saved Fixed lands, that would otherwise break https://www.drupal.org/project/dynamic_entity_reference → !2 of the 12 remaining comment threads can be marked resolved — GitLab does not allow me to do that 🤷♂️
That leaves only 7 comment threads! 🚀
- last update
over 1 year ago 29,889 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,889 pass, 1 fail - last update
over 1 year ago 29,891 pass - 🇺🇸United States tedbow Ithaca, NY, USA
Looking good. Just notice a few more things in the MR
- last update
over 1 year ago 29,916 pass - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I think this is pretty much ready at this point!
While we're waiting for 🐛 Field [storage] config have incomplete settings until they are saved Fixed to land first, let's at least already update the issue summary here while it's still fresh in mind — hopefully that issue will land soon, but that's impossible to predict.
- last update
over 1 year ago 29,951 pass - 🇺🇸United States tim.plunkett Philadelphia
🐛 Field [storage] config have incomplete settings until they are saved Fixed is in! Rebased the branch, but there are few unresolved threads as well as a few @todos pointing to the blocker
- last update
over 1 year ago 30,065 pass - last update
over 1 year ago 30,065 pass - Status changed to Needs review
over 1 year ago 9:07am 28 August 2023 - 🇫🇮Finland lauriii Finland
Adjusting the issue summary because many of the underlying issues we were solving here earlier have already been committed in 🐛 Extra Default value field when adding a field with an unlimited values Fixed and 🐛 Field [storage] config have incomplete settings until they are saved Fixed .
- last update
over 1 year ago 30,065 pass - last update
over 1 year ago 30,065 pass - last update
over 1 year ago Custom Commands Failed - Status changed to Needs work
over 1 year ago 9:53am 28 August 2023 The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
AFAICT all remaining
@todo
s now point to the follow-up, not the blocker? 😃Cross-posted with @lauriii 😆
I think we can make the change record → more explicit by telling contrib developers that if the string
Save field settings
appears anywhere in their codebase, that they are probably affected.This looks very close — only nits 👍
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,917 pass, 49 fail - last update
over 1 year ago 30,052 pass, 7 fail - last update
over 1 year ago 30,065 pass - last update
over 1 year ago 30,064 pass - Status changed to Needs review
over 1 year ago 6:43am 29 August 2023 - last update
over 1 year ago 30,061 pass - @srishtiiee opened merge request.
- Status changed to Needs work
over 1 year ago 9:11am 29 August 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Thanks, https://git.drupalcode.org/project/drupal/-/merge_requests/4667/diffs passing tests separately means this is purely additional test coverage 👍
Just one question remaining on the MR :) Once that's addressed and a change record exists, I'll RTBC 🚀
- last update
over 1 year ago 30,067 pass - Status changed to Needs review
over 1 year ago 10:44am 29 August 2023 - 🇮🇳India srishtiiee
Added the isNew check to FieldStorageConfig::hasData() and created a CR for it.
- 🇫🇮Finland lauriii Finland
I closed the new MR to reduce chances of confusion.
I updated the CR to explain the changes on a higher level, in case there's some custom code that needs to be updated.
- Status changed to RTBC
over 1 year ago 9:06am 30 August 2023 - last update
over 1 year ago 30,102 pass - Status changed to Needs work
over 1 year ago 8:36pm 31 August 2023 - 🇺🇸United States effulgentsia
I think overall this MR is looking great and I'm pretty close to wanting to commit it. @lauriii, @tim.plunkett, and I also polished up the change records.
When reviewing this, I started wondering about whether the use of a private temp store would introduce problems if two people were trying to add the same field at the same time, and then I saw that @larowlan also asked that same question in an earlier comment:
What happens in the scenario where admin A is creating field 'field_title' on a node type and in a separate session admin B is also creating 'field_title'?
Because we're using private tempstore there is the chance that their edits/changes could conflict/collide.
@Wim Leers responded with:
I'm not too concerned about private tempstore and collisions though, because that'd cause a collision at the final "save" time.
I think it would be good to add a test for what the expected behavior is. For example, is the expected behavior that whoever completes the final step first gets their work saved, and then the second person gets an error message when they try to save? Or does the second person overwrite the work of the first person without knowing about that prior work? Or something else?
- Status changed to RTBC
over 1 year ago 8:43pm 31 August 2023 - 🇫🇮Finland lauriii Finland
We have test coverage for edge cases related to temp store in
\Drupal\Tests\field_ui\Functional\ManageFieldsTest::testAddFieldWithMultipleUsers
and\Drupal\Tests\field_ui\Functional\ManageFieldsTest::testEditFieldWithLeftOverFieldInTempStore
😊 - last update
over 1 year ago 30,134 pass - 🇺🇸United States effulgentsia
The MR now has a merge conflict due to 🐛 Disable the 'Remove' button if there is a single row in the allowed values storage setting of the list fields Fixed .
Here's a patch that rerolls for that conflict. There's no substantive difference, only context lines differ.
-
effulgentsia →
committed d2cdfb19 on 11.x
Issue #3358049 by narendraR, lauriii, srishtiiee, Utkarsh_33, Wim Leers...
-
effulgentsia →
committed d2cdfb19 on 11.x
- Status changed to Fixed
over 1 year ago 10:46pm 31 August 2023 - 🇺🇸United States effulgentsia
Pushed to 11.x and published the CRs. Great work, everyone!
Automatically closed - issue fixed for 2 weeks with no activity.