New patch, which fixes a warning.
interdiff:
63c63
< + $can_masquerade_as_user = masquerade_can_masquerade($account);
---
> + $can_masquerade_as_user = masquerade_can_masquerade(user_load($account));
marco โ created an issue.
james.williams โ credited marco โ .
The attached patch implements #122, with an addendum from @peximo to make sure that calling a full bootstrap more than once does not break the logic.
I attach a patch to be applied after #7 from https://www.drupal.org/project/ctools/issues/3342360 ๐ Modal accessibility Needs review
re-reroll of the previous patch.
Small fix for the drupal_goto.
marco โ created an issue.
Updated patch to fix an issue with some entities.
I attach an updated patch which among other things also stores the last changeset id.
This patch adds some hooks which use the new constants, and are better than the existing hooks as there may be unwanted side effects otherwise.
But there's currently a bug, and in some cases the empty alias is written for the live alias.
The attached patch should fix the issue.
Credit should be given to https://www.drupal.org/u/peximo โ
It is actually expected from cps_url_alias to create an empty alias. It's how an alias is flagged to be deleted in a site version.
Then during publishing the aliases are deleted, and the empty ones are not re-created: https://git.drupalcode.org/project/cps/-/blob/7.x-1.x/modules/cps_path/c...