Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vijaycs85’s picture

Status: Active » Needs review
FileSize
1.22 KB
vijaycs85’s picture

Status: Needs review » Needs work
Issue tags: -State system

The last submitted patch, 1824898-drupal_weight_select_max-cmi-1.patch, failed testing.

vijaycs85’s picture

Status: Needs work » Needs review
Issue tags: +State system
alexpott’s picture

Status: Needs review » Needs work
Issue tags: -State system +Configuration system

drupal_weight_select_max should be configuration and not state. So we to add this to system.site.yml etc..

vijaycs85’s picture

Status: Needs work » Needs review
FileSize
2.08 KB

Thanks for the review Alex. Just changed it as config.

vijaycs85’s picture

Missed to change the upgrade hook. Here is the fixed one.

Status: Needs review » Needs work

The last submitted patch, 1824898-drupal_weight_select_max-cmi-3.patch, failed testing.

alexpott’s picture

Status: Needs work » Postponed

The failures are due to an issue with update_variables_to_config(). This is now postposed on #1825466: Allow NestedArray::mergeDeepArray() to preserve integer keys

ACF’s picture

Status: Postponed » Needs review
FileSize
1.57 KB

reroll of the patch by vijaycs85, Not sure about the naming of the variable weight_select_max, wonder if it could be something a bit more descriptive.

longwave’s picture

Title: Covert drupal_weight_select_max variable to CMI system » Convert drupal_weight_select_max variable to CMI system
Status: Needs review » Needs work

config(system.site) is missing quotes.

The DRUPAL_WEIGHT_SELECT_MAX constant is now redundant and can be deleted as well.

ACF’s picture

Status: Needs work » Needs review
FileSize
2.06 KB

Try again, silly mistake.

gdd’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me if the bot comes back green

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

swentel’s picture

Status: Fixed » Needs work

I think more was pushed than intented, see http://drupalcode.org/project/drupal.git/commit/cd8dd17

yched’s picture

Yup, some EFQ code got in as well in the same commit :-)

catch’s picture

Rolled this back so we can get a cleaner commit history. Also there's a conflict with the update functions so it'll need a re-roll.

ACF’s picture

Status: Needs work » Needs review
FileSize
651 bytes

Updated the system.install.

aspilicious’s picture

Status: Needs review » Needs work
Issue tags: +Configuration system

The last submitted patch, 1824898-weight_select_max_to_config-drupal8-18.patch, failed testing.

vijaycs85’s picture

Status: Needs work » Needs review
FileSize
651 bytes

re-rolling with update_N

ACF’s picture

Status: Needs review » Needs work

I think that it is easier rather than always updating the system.install update number to just add the variable it to another system.site update, partiularly as that is what is going to happen eventually anyway.

vijaycs85’s picture

Status: Needs work » Needs review
FileSize
420 bytes

I'm happy to do it :)

aspilicious’s picture

I'm confused are the actual .yml changes already comitted? According to catch it seems everything is reverted. So we have to recreate the patch.

vijaycs85’s picture

yeah, except hook_update_N, other changes in patch at #12 is already in core.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Ok lets go for it than :)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Hopefully I didn't screw it up this time. ;)

Automatically closed -- issue fixed for 2 weeks with no activity.

vijaycs85’s picture

Assigned: vijaycs85 » Unassigned
Issue summary: View changes
sun’s picture