Skip to content

Conversation

@Akatuoro
Copy link
Contributor

Mock users are not initialized if this dependency is not present

@Akatuoro Akatuoro requested a review from smahati as a code owner April 25, 2025 14:03
@renejeglinsky
Copy link
Contributor

Hi @Akatuoro ,
this dependency is set when creating a project, right? So the scenario would be more like a troubleshooting when someone deleted that dependency, or?

@Akatuoro
Copy link
Contributor Author

Hi @renejeglinsky , no, not always. If you do a cds init --java or a cds init --java --add tiny-sample, it does not get added. It only gets added with sample or xsuaa.
This means that if someone is creating their model from scratch or from tiny-sample, they'll run into this.

And yes, for troubleshooting this info is of course also helpful.

@renejeglinsky
Copy link
Contributor

Thanks @Akatuoro for the explanation. Then I'm fine with having that note here. It will also suffice as troubleshooting for users who search for this.

@renejeglinsky renejeglinsky merged commit 2e0a97c into main May 21, 2025
4 checks passed
@renejeglinsky renejeglinsky deleted the mock-user-dependency branch May 21, 2025 05:49
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