🇺🇸United States @PapaGrande

Account created on 21 July 2011, almost 13 years ago
#

Merge Requests

More

Recent comments

🇺🇸United States PapaGrande

Ready for review and testing. For now, I'm ignoring the phpstan warning that will be fixed in 3445820 📌 \Drupal calls should be avoided in classes Active .

🇺🇸United States PapaGrande

Moving the example endpoint to a sub-module is a good idea. Because I don't use this module anymore, I welcome a merge request to make this happen.

🇺🇸United States PapaGrande

For anyone who stumbles into this issue from searching, check to make sure that the 'view own unpublished content' permission is set for the role.

🇺🇸United States PapaGrande

I'm getting sporadic reports from a customer of this error on a hosted site with a webform using a file upload field, but can't reproduce the error myself, either locally or in production. Can others provide information about:

  • Do the errors happen in all browsers?
  • Are you logged in or not? Do the errors happen for anonymous users?
  • What AJAX settings are enabled in the webform?
  • Is the site local or hosted? If hosted, which provider?
  • Is JavaScript aggregation enabled?
  • Is a CDN in front of the site? If so, which one and are there special caching rules in place?
🇺🇸United States PapaGrande

This module could really use automated functional tests, but I manually tested and reviewed the code. Thanks, @aaron.ferris.

🇺🇸United States PapaGrande

After some discussion, we figured out we can use the getForm() method on the eloquaFormsService using the form ID stored in the handler to see if the API is reachable. We can use that to display the API connection status in the handler summary along with a link to the settings page if it is not.

🇺🇸United States PapaGrande

Based on https://www.drupal.org/project/eloqua_api_redux/issues/3358253#comment-15571333 📌 Provide a message to the end user when the authentication token fails Needs review , let's add a refresh token check to the summary as well.

🇺🇸United States PapaGrande

I'm calling this ready on the API side.

On the webform_eloqua handler we can add better messaging in #3440055 Show Eloqua Form Name in Webform Handler Summary Needs review

🇺🇸United States PapaGrande

MR #5 conflicts with #4 in #3358253 📌 Provide a message to the end user when the authentication token fails Needs review , which is higher priority so I'm postponing until that MR is merged in.

🇺🇸United States PapaGrande

@CostinVieru, is this still a problem? Can you provide any more steps to reproduce this on a generic form?

🇺🇸United States PapaGrande

Should this and https://www.drupal.org/project/entity_language_fallback/issues/3407832 🐛 src/FallbackController.php error on PHP8.2, Deprecated function: Creation of dynamic property RTBC be merged together and one of them marked as duplicate? That would be easier for the maintainers to review and commit.

🇺🇸United States PapaGrande

Should this and https://www.drupal.org/project/entity_language_fallback/issues/3421360 🐛 PHP 8.2 Deprecation errors for dynamic properties Needs review be merged together and one of them marked as duplicate? That would be easier for the maintainers to review and commit.

🇺🇸United States PapaGrande

The link to \Drupal\Core\State\State is broken, but I'm not sure where it should go now.

🇺🇸United States PapaGrande

@tony.gutierrez.bf, would the merge request in https://www.drupal.org/project/webform_eloqua/issues/3438008 Provide a message to the end user when the authentication token fails Needs review solve this issue for you by providing feedback about the Eloqua API tokens?

🇺🇸United States PapaGrande

For anyone else having trouble updating to 1.1.6 and beyond, remove any special settings in repositories or conflict in your composer.json file that were added to make the patch work.

🇺🇸United States PapaGrande

Unfortunately, this is not fixed.

- media_library_theme_reset:media_library_theme_reset needs to be removed from bootstrap_styles.info.yml to get rid of the dependency.

🇺🇸United States PapaGrande

The tip in #15 is helpful (as is https://www.drupal.org/project/drupal/issues/2358537#comment-12648753 Do not require a 'title' field Needs work ), but this issue does duplicate several other currently open issues.

🇺🇸United States PapaGrande

I ran into this issue on a client site that was spewing "User error: "update" is an invalid render array key in Drupal\Core\Render\Element::children() (line 98 of /var/www/html/web/core/lib/Drupal/Core/Render/Element.php)" PHP errors because of conditional visibility settings on a computed twig element. Implementing the workaround in #3 removed the errors.

🇺🇸United States PapaGrande

Ah, thanks. I forgot about updating to the dev version.

The patch applies and the error goes away. Beyond that, I don't know this module well enough to properly review the changes.

🇺🇸United States PapaGrande

I tried to apply the patch from MR!4 and it failed. I'm very confused because the patch I downloaded from Gitlab doesn't look the same as https://git.drupalcode.org/project/msqrole/-/merge_requests/4/diffs#note....

🇺🇸United States PapaGrande

Thanks for committing the fix. Can we get a new release?

🇺🇸United States PapaGrande

@andresgmh, thanks. This looks like a useful feature.

A few requests:

  1. If you are still updating your code, please assign yourself this task.
  2. Since Drupal is moving to Merge Requests on Gitlab, would you mind opening one instead of using patches? It's not a requirement, but it makes reviewing much easier.
  3. This module needs test coverage. Ideally, we would have tests to make sure this new feature doesn't cause regressions, but at a minimum we should test to confirm this feature is working.
🇺🇸United States PapaGrande

Looks great! Thanks @Lendude and @HeikkiY.

🇺🇸United States PapaGrande

For others' reference, a client had a link field that was triggering this error on six nodes. The status page had no errors about the field and the configuration status was clean.

Resaving the nodes didn't fix the problem. Nor did copying data via SQL from the field table to the revision table. Here's what did:

  1. Resave the field settings.
  2. Resave the field storage settings.
  3. Each node lost the link field data so copy and paste the link data from another server.

And after resaving the field, the configuration status still had no changes between database and file.

🇺🇸United States PapaGrande

Same problem for me--updated to D10 and RSS feeds break. And the workaround in #5 fixes it.

Based on git blame it looks like the change was introduced in https://www.drupal.org/project/drupal/issues/2921810 🐛 Allow TimestampFormatter to show as a fully cacheable time difference with JS Fixed . Perhaps the Views RSS row formatter needs tweaking to exclude the <time> element.

🇺🇸United States PapaGrande

Linking to the core issue (#2546212) that if it ever gets committed, is the "correct" way to make configuration items translatable.

@opdavies, how can I help get this committed to 2.0.x? It's a blocker for me to upgrade.

🇺🇸United States PapaGrande

@keithdoyle9, this ended up being a problem with too many cache tags on that client's page. Oddly, Cloud Next was worse than Cloud Classic when using the acquia_purge module.

I solved it by removing the individual cache tags with the getCacheTagsToInvalidate() method on the custom entity. The entities are populated and displayed as a complete group so individual entity tags aren't needed.

However, the problem remains in the module in that it shouldn't have a fatal error.

🇺🇸United States PapaGrande

Is this still a problem in Drupal 10? With no comment for four years, it would seem folks are working with the current settings.

If not, please add steps to reproduce including operating system and versions.

Bumping the priority down because of the lack of comment or progress.

🇺🇸United States PapaGrande

Is this still a problem in D10 or even D7? If not, then we should close it or reassign to D7.

🇺🇸United States PapaGrande

After reading the relevant code, "items" makes sense in context and !4956 looks good.

Thanks, @sourabhjain.

🇺🇸United States PapaGrande

From @andypost at https://drupal.slack.com/archives/C014QES6HSQ/p1696523077987389?thread_t...

In UI as noun it exists in forum...

core/modules/forum/src/ForumSettingsForm.php:54: 3 => $this->t('Posts - most active first'),
core/modules/forum/src/ForumSettingsForm.php:55: 4 => $this->t('Posts - least active first'),
core/modules/forum/templates/forum-list.html.twig:40:

🇺🇸United States PapaGrande

This may be outdated and needs a check to see if there are still problems in D11 code. Please scan the code for uses of "post" as a noun, but ignore test fixtures.

Then spin off child issues by sub-system to keep the patches/MRs reasonably-sized.

🇺🇸United States PapaGrande

@andeic, thanks for the update. I think we can close this issue and hide the useless patch.

To follow up on my empty home page alias, after deleting it I ran into other problems with the metatag module and https://www.drupal.org/project/drupal/issues/1255092 🐛 url() should return / when asked for the URL of the frontpage Needs work since the [current-page:url:relative] token no longer showed the alias. I ended up injecting the correct tag using hook_metatags_alter().

🇺🇸United States PapaGrande

If the patch from https://www.drupal.org/project/drupal/issues/3059955#comment-15111076 🐛 It is possible to overflow the number of items allowed in Media Library Fixed solves this issue (and has been committed to core) then I'm closing this ticket as a duplicate.

Feel free to re-open if you disagree.

🇺🇸United States PapaGrande

This happened on a 9.5.x client site after I updated to PHP 8.1. I found an old path for the home page that was missing the alias, i.e. was blank. After deleting the bad alias, the errors went away.

I'm guessing the alias has been there since Drupal 7.x and PHP 5.x and only became a problem with the upgrade to PHP 8.1.

🇺🇸United States PapaGrande

While I really would like to translate the correct way, in this case I don't think we should let perfection be the enemy of the good. I agree with @ultimike that we should merge in !66.

While we wait for for https://www.drupal.org/project/drupal/issues/2546212 🐛 Entity view/form mode formatter/widget settings have no translation UI Needs review to get fixed we should split !69 into a follow up task that is postponed.

!66 will also be backwards compatible. Quite selfishly, one of my client's sites will then continue to be translated after I update the module with that fix.

🇺🇸United States PapaGrande

I'm on vacation and can't look into this more at the moment, but I think @lostcarpark was on the right track in that we need to add a *.config_translation.yml file with the ajax base_route_name for the field formatter.

🇺🇸United States PapaGrande

Added instructions for dealing with outdated core patches.

🇺🇸United States PapaGrande

I think that works, but I'm wondering if that will be fully backwards compatible. (In my case, I don't actually have any hooks implemented.) Are there scenarios where passing $more by value will be unexpected in an existing hook?

And if this is a breaking change for existing hook implementations, does that mean the change should be reverted and a new major version released?

🇺🇸United States PapaGrande

Unfortunately, the patch doesn't apply against 3.0.0-rc4.

A client is asking for a more compact UI, but I'm not sure it's worth the trouble to re-roll the patch with this issue set to Postponed.

I'm looking for overrides of form item & element margins.

🇺🇸United States PapaGrande

@jpro, it's fixed in the sense that the patch has been committed and is now part of the 2.x branch.

However, you are correct that the fix hasn't been released. It looks like @opdavies created the 2.0.1 tag, but never actually released it. @opdavies, can you release a new version?

🇺🇸United States PapaGrande

Closing this since we now have a stable release.

🇺🇸United States PapaGrande

Triaged as part of BSI.

Is this still an issue? Can you provide steps to reproduce the problem?

🇺🇸United States PapaGrande

Isn't this a duplicate of https://www.drupal.org/project/markdown/issues/3288447 📌 Drupal 10 compatibility fixes Fixed ?

🇺🇸United States PapaGrande

@godotislate, I tweaked your code to be a little easer to read, but thanks a lot for your contribution.

🇺🇸United States PapaGrande

I remember your willingness and patience answering my newbie questions at a PNW Drupal Summit in Portland oh so many years ago. Thank you!

🇺🇸United States PapaGrande

Adding how to create a recommended release.

🇺🇸United States PapaGrande

Yes, this would be very useful. Work for me on a D9 site.

🇺🇸United States PapaGrande

@RobbMLewis, @mrchristophy, @maxilein, thanks for testing and creating the patch. Would one of you be so kind and change the status to RTBC?

Then we can advocate for this to be merged in and a new version released.

🇺🇸United States PapaGrande

I'm adding child issues to this ticket.

🇺🇸United States PapaGrande
+++ b/eloqua_api_redux.services.yml
@@ -1,7 +1,7 @@
+    arguments: ['@config.factory', '@logger.factory', '@http_client_factory']

@elber, thank you. #7 almost works, but this needs to be added as you had in patch #4..

🇺🇸United States PapaGrande

This also happens when attempting database updates.

🇺🇸United States PapaGrande

PapaGrande made their first commit to this issue’s fork.

🇺🇸United States PapaGrande

@elber, #4 looks good, but needs a reroll against the 2.0.x branch after I committed your patch from https://www.drupal.org/project/eloqua_api_redux/issues/3340462 📌 Drupal calls should be avoided in classes, use dependency injection instead Fixed .

🇺🇸United States PapaGrande

@opdavies, good catch. Drupal\Core\Plugin\PluginBase already has the trait so we can use it.

I know you're not supposed to pass variables through t(), but this quick and dirty approach has worked for years in patch #2.

🇺🇸United States PapaGrande

@iamfredrik, I implemented @Juanjol's "rather messy workaround" in #8 (the first one) and it's working just fine. I suggest going with that until we can get this issue resolved.

🇺🇸United States PapaGrande

@roberttabigue, thanks for reviewing, but I think you're sniffing the 7.x-1.x version. This issue is for 8.x-1.x.

🇺🇸United States PapaGrande

Thanks, @vimal_nadar.

+++ b/socrata_catalog_search/src/Plugin/views/field/SocrataList.php
@@ -44,7 +44,7 @@ class SocrataList extends PrerenderList {
+  public function renderItem($count, $item) {

The method name shouldn't be changed as it's actually implementing https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%....
Instead, please add a phpcs ignore (https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignorin...) to make the code sniffer not fail the method name.

Reviewers, please don't just test applying the patch. Review the code changes to ensure they make sense in the context of the module and confirm the functionality is still working.

🇺🇸United States PapaGrande

Some of the fixes could be done by a novice, but don't worry if you can't figure out fixes for all the doc comments.

🇺🇸United States PapaGrande

Thanks, @SocialNicheGuru. Merged in.

Production build 0.69.0 2024