@joseft40 Please can you submit a merge request instead of a patch?
https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... โ
josedsilva โ made their first commit to this issueโs fork.
This issue has reappeared on Drupal 10.x.
It occurs when clicking the settings icon in "Manage Form Display" when all of the following conditions are satisfied:
1. The office hours field is used in a paragraph
2. There are other fields in the same paragraph (e.g. a Text (Plain) field)
3. Widget type is either "Office hours (week) with exceptions and seasons" or "Office hours (week)"
NOTE:
If office hours field is the only field used in the paragraph then there is no issue.
Add a second field to the paragraph and the issue will show.
josedsilva โ created an issue.
Tests need to be updated.
josedsilva โ created an issue.
Thanks @bwong. Your solution saved my day.
Comment #6 is correct. It happens when you duplicate the current display to a data export display
Installation setup for Asset Packagist was not done prior to installing this module. Hence the issue of missing dependencies occurred.
Closing ticket as non-issue since the system works as designed.
Did you follow the Installation instruction before executing composer?
The dependency bower-asset/jquery-ui-daterangepicker:^0.5 is pulled in from Asset Packagist.
Ref: https://github.com/drupal-composer/drupal-project/issues/278#issuecommen...
Please do the following:
- Execute
composer require oomphinc/composer-installers-extender
- Edit your project's composer.json file as follows:
1. Add the Asset Packagist repository to the "repositories" section:"repositories": [ ... { "type": "composer", "url": "https://asset-packagist.org" } ],
2. Add "installer-types" and update "installer-paths" in the "extra" section:
"extra": { ... "installer-types": ["npm-asset", "bower-asset"], "installer-paths": { ... "web/libraries/{$name}": ["type:drupal-library", "type:npm-asset", "type:bower-asset"], ... } ... }
- Execute
composer require 'drupal/daterangepickerwidget:^1.0@alpha'
@maxilein please try clearing composer cache: composer clear-cache
Then install the latest version: composer require 'drupal/daterangepickerwidget:^1.0@alpha'
This was an issue with drupal/daterangepickerwidget:1.0.0-alpha1
but has been resolved in the newer packages.
Thanks @jrockowitz
Removing the patch:
#3138528: getEntitiesToView() should implements the same interface as viewElements() โ
and updating core with `composer update --lock` fixed the "PHP Fatal error: Declaration of WebformEntityReferenceFormatterBase::getEntitiesToView" issue for me.
Fixed issues reported by phpcs
Issue fixed and added to dev and will become available in the next release.
josedsilva โ made their first commit to this issueโs fork.