Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

44118: Change External #10

Merged
merged 1 commit into from
Oct 14, 2021
Merged

44118: Change External #10

merged 1 commit into from
Oct 14, 2021

Conversation

nina-j
Copy link
Contributor

@nina-j nina-j commented Oct 13, 2021

This MR adds the POST requests necessary to edit Externals in GIR from EGIR.

Note that information pertaining to cost centres and organisation units has been removed, because these should be included in move rather than change. They are only soft removed, i.e. hidden from the end user in the webform.

Add employee edits

Add engagement edits

Use extra_uuids object

Update Change External webform
@nina-j nina-j requested a review from agger-magenta October 13, 2021 12:15
@agger-magenta
Copy link
Contributor

Hvis jeg loader en External ind og redigerer, idet jeg ændrer/tilføjer email-adresse, får jeg som afslutning på flowet denne fejlmeddelelse:

"Unable to edit external employee: Missing uuid"

Jeg prøver lige nogle flere ting.

Copy link
Contributor

@agger-magenta agger-magenta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Koden ser umiddelbart fin ud, men uanset hvad jeg gør, synes jeg, at jeg får

"Failed
Unable to edit external employee: Missing uuid"

Er der noget særligt, jeg skal gøre for at få det til at virke?

@nina-j
Copy link
Contributor Author

nina-j commented Oct 14, 2021

"Failed Unable to edit external employee: Missing uuid"

Koden antager, at der allerede findes både et telefonnummer og en emailadresse, fordi det er påkrævet information under oprettelse af en external. Hvis de ikke findes i forvejen, skal der foregå en Create i stedet for Edit - og det vurderede jeg ikke var korrekt opførsel.

@agger-magenta
Copy link
Contributor

OK, jeg tester lige med nogle nyere data.

@agger-magenta agger-magenta merged commit deeac8c into main Oct 14, 2021
@agger-magenta agger-magenta deleted the 44118-change-external branch October 14, 2021 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants