πŸ‡¦πŸ‡ΊAustralia @elimw

Account created on 30 November 2015, almost 10 years ago
#

Recent comments

πŸ‡¦πŸ‡ΊAustralia elimw
πŸ‡¦πŸ‡ΊAustralia elimw

elimw β†’ changed the visibility of the branch project-update-bot-only to hidden.

πŸ‡¦πŸ‡ΊAustralia elimw

@jeremy1606, could you please make the relevant changes to https://www.drupal.org/project/browsersync/issues/3523729 πŸ“Œ Support object oriented hook implementations Active instead? I'm going to close and hide your merge request as this issue is only for D11 compatibility fixes.

πŸ‡¦πŸ‡ΊAustralia elimw

Pushed changes, added a .gitlab-ci.yml and all tests are passing.

πŸ‡¦πŸ‡ΊAustralia elimw

The changes in the merge request don't fully work for me. I still get this error on every odd click which selects an entity type.

πŸ‡¦πŸ‡ΊAustralia elimw

@heddn, there's no pipelines currently configured for this project.

My plan is to do that as part of https://www.drupal.org/project/browsersync/issues/3523729 πŸ“Œ Support object oriented hook implementations Active .

πŸ‡¦πŸ‡ΊAustralia elimw

Thanks @chrisfromredfin, I've tested the changes and they work for me.

πŸ‡¦πŸ‡ΊAustralia elimw

Hi @gedvan,

I updated the automated patch yesterday and our changes to BrowsersyncTest.php are exactly the same.

Could you please update browsersync.info.yml in the automated patch issue πŸ“Œ Automated Drupal 11 compatibility fixes for browsersync Needs review ?

πŸ‡¦πŸ‡ΊAustralia elimw

Closing this issue due to it's age and the fact that Ajaxify doesn't seem to be actively maintained.

πŸ‡¦πŸ‡ΊAustralia elimw

elimw β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡ΊAustralia elimw

@dydave, I've added a PHPUnit test for the change and all tests are passing. I hope this is what you were after?

Sorry it's taken me so long to get around to doing this.

πŸ‡¦πŸ‡ΊAustralia elimw

@loze, turns out my redirect issue was fixed by configuring reverse proxy.

I've been testing this patch and noticed that while top-level comments are added to the bottom of the top-level thread, replies are added to the top of reply thread.

Is it possible to append replies to the bottom of the reply thread?

πŸ‡¦πŸ‡ΊAustralia elimw

@loze you were right, I had Display Suite installed and configured for the comment field. Once I created my own preprocess hook to copy across the pre-processed elements in your patch into `$variables['items'][0]['content']`, everything worked.

On a separate note, is there an alternative way to rebuild the form in AjaxController without using `$this->entityFormBuilder()->getForm()`? This particular form builder is throwing an `EnforcedResponseException` exception and my staging environment is having issues processing the subsequent redirect. If there isn't an alternative way to rebuild the form, is it possible to wrap all calls to `$this->entityFormBuilder()->getForm()` with a try-catch and rebuild the form from there?

πŸ‡¦πŸ‡ΊAustralia elimw

I applied the latest patch and my field for adding a new comment and replying are no longer an AJAX field.

When I add a new comment, the page is reloaded. If I reply to a comment, I'm taken to a page showing the comment's thread. I did some debugging I can see the new ajax_comments.lazy_builders:renderForm being attached, but the original CommentLazyBuilder class is being called instead.

πŸ‡¦πŸ‡ΊAustralia elimw

elimw β†’ created an issue.

πŸ‡¦πŸ‡ΊAustralia elimw

Re-rolled the patch at #2 and updated deprecated code.

πŸ‡¦πŸ‡ΊAustralia elimw

I added a commit to resolve this error that I got when a comment field didn't have any comments or, I assume, not enough to generate a pager:

Error: Call to a member function getCurrentPage() on null in ajax_comments_entity_display_build_alter()

I also couldn't apply the patch from the merge request diff and ended up creating a local patch by doing a diff against origin. I think the fork just needs to pull in the upstream changes.

πŸ‡¦πŸ‡ΊAustralia elimw

elimw β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡ΊAustralia elimw

Closing this issue as I realised that this error was caused by a patch in another issue.

https://www.drupal.org/project/ajax_comments/issues/3113225 ✨ Don't rebuild the entire comment field/thread when posting a comment Needs work

πŸ‡¦πŸ‡ΊAustralia elimw

@ljwilson, for me, the issue wasn't related to an uninstall page, but I tried your fix and it worked for me.

Could you refactor your fix into an update hook?

πŸ‡¦πŸ‡ΊAustralia elimw

@dydave, @vistree, I've created separate MR which checks if a savepoint with the same name already exists before pushing a transaction.

πŸ‡¦πŸ‡ΊAustralia elimw

I have pushed a change to fix the issue I was encountering.

Rather than having to explicitly check if we should wrap a query in a savepoint before calling "Connection::addSavepoint()", wouldn't it be better to do the check inside of "Connection::addSavepoint()" instead?

πŸ‡¦πŸ‡ΊAustralia elimw

I updated Group contrib to 2.3.1 and noticed this issue. I applied patch #37 and even updated Core to 10.4.1 but neither fixed the issue.

πŸ‡¦πŸ‡ΊAustralia elimw

PR reviewed. More work needed to conform to Drupal coding standards.

πŸ‡¦πŸ‡ΊAustralia elimw

Please make all changes to "Issue fork browsersync-3335994" rather than the old patch file method.

πŸ‡¦πŸ‡ΊAustralia elimw

Please address the comments I have left in the PR.

πŸ‡¦πŸ‡ΊAustralia elimw

Rather than calling the class "BrowsersyncConstants", please rename it to "BrowsersyncHelper" and remove the "final" keyword from the class declaration.

Production build 0.71.5 2024