Skip to content

fix: Send only the suggester options to the project manager search - EXO-90713 - #657

Merged
boubaker merged 1 commit into
feature/maintenancefrom
fix/project-manager-suggester-options
Oct 5, 2026
Merged

boubaker merged 1 commit into
feature/maintenancefrom
fix/project-manager-suggester-options

Conversation

@boubaker

Copy link
Copy Markdown
Member

Symptom: in a project's settings, the manager suggester fails for a user with a long profile (for example a long work-experience text): the people suggest request URL grows with every profile field (Meeds-io/meeds#4023).

Cause: ProjectAssigneeManager.vue passed the whole current user object as the suggester's currentUser option inside a space, and returned that object as the options themselves outside a space. SuggesterService#searchUsers merges the options into the query string with $.param.

Fix: the manager field sends the options the participants field already sends (ProjectAssigneeParticipator.vue): { spaceURL, currentUser: false } in a space, {} otherwise, where the suggester's default currentUser (the user name) applies. Checked by the build and lint; the frontend has no committed JS unit tests.

Knowledge: none — the fix aligns a component on its sibling; no platform fact changes.

This change is classified N1 (computed on c2cf7f779, raised for identity resolution: the suggest endpoint uses the currentUser parameter as the viewer identity) — its approver must be an Archi/Dev who knows it is N1, not an approval on AI review alone; author ≠ approver.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the partialCIBuild Perform Partial CI Build label Sep 28, 2026
@boubaker boubaker changed the title fix: Send only the suggester options to the project manager search EXO-TBD fix: Send only the suggester options to the project manager search - EXO-90713 Sep 28, 2026
@boubaker
boubaker requested a review from ahamdi September 28, 2026 16:32
@boubaker
boubaker marked this pull request as ready for review September 28, 2026 16:32
ahamdi
ahamdi previously approved these changes Sep 29, 2026
@exo-swf
exo-swf dismissed ahamdi’s stale review September 30, 2026 23:18

The merge-base changed after approval.

@exo-swf
exo-swf force-pushed the feature/maintenance branch 2 times, most recently from 5f3a58d to 2a5a860 Compare October 1, 2026 23:18
…EXO-TBD

ProjectAssigneeManager passed the whole current user object as the
suggester's currentUser option, and outside a space it returned that
object as the options themselves, so every profile field went into the
people suggest query string. A long profile made the request fail. The
manager field now sends the same options as the participants field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@boubaker
boubaker force-pushed the fix/project-manager-suggester-options branch from c2cf7f7 to a041696 Compare October 5, 2026 12:48
@boubaker

boubaker commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

Rebased on top of new feature/maintenance

@boubaker
boubaker enabled auto-merge (squash) October 5, 2026 12:50
@boubaker
boubaker requested a review from Jihed525 October 5, 2026 12:50
@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@boubaker
boubaker merged commit 14899ed into feature/maintenance Oct 5, 2026
9 checks passed
@boubaker
boubaker deleted the fix/project-manager-suggester-options branch October 5, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partialCIBuild Perform Partial CI Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants