- Issue created by @drupalfan2
- Assigned to sarwan_verma
- Issue was unassigned.
- 🇮🇱Israel jsacksick
@drupalfan2: Do you have any patches applied? the unpatched code doesn't have this line...
- 🇦🇹Austria drupalfan2
Yes, in profile 1.8 I have applied 2 patches via composer.json:
"drupal/profile": { "Provide Views argument for current user's profile ID": "https://www.drupal.org/files/issues/2021-03-23/profile-default-argument-2835930-3.patch", "Create the revision UI for profiles": "https://www.drupal.org/files/issues/2020-05-21/profile-revisions-ui-2599014-16.patch" },
- Status changed to Closed: cannot reproduce
9 months ago 11:18am 3 April 2024 - 🇮🇱Israel jsacksick
The first patch got committed and is present in the last release, the other patch seems to have the line your code is complaining about... But looks like it's importing the right namespace into the code...
In any case, this bug isn't reproducible on a clean install, so closing this. - 🇦🇹Austria drupalfan2
So the first patch "Provide Views argument for current user's profile ID" can be removed?
Can you help to rewrite the second patch "Create the revision UI for profiles"?
Or will patch #25 work?
https://www.drupal.org/project/profile/issues/2599014 📌 Create the revision UI for profiles Needs reviewThank you very much.
- 🇮🇱Israel jsacksick
So the first patch "Provide Views argument for current user's profile ID" can be removed?
yes.
Or will patch #25 work?
It should... Try?
- 🇦🇹Austria drupalfan2
Thank you very much, seems to work.
But I found another (older) problem of the patch #25: when profiles are updated a new revision is only generatet when the logged in user is the admin. For other users no new revisions are created when they log in and update/change their profiles.