42
Views
4
Comments
[ODC Live Style Guide] ODC Training - 'Employee' error in Vacations App
ODC Live Style Guide
Forge asset by OutSystems Labs
Application Type
Reactive

Hello everybody! I'm taking the ODC course and by mistake I published the Vacations App first instead of the Directory. Does anyone have any tips on how to avoid getting all those errors associated with 'Employee'? Thank you for the help (:

2023-11-07 18-53-22
José Rodrigues

Hey @Ana Nunes

Can you share some additional details about the errors that you got? A print screen would also be helpful :)

2024-01-13 11-08-45
Ana Nunes

@José Rodrigues  Thanks for your answer! I'm posting two screenshots of the issue. In the ODC training quickstart, they specifically say that we first need to open the Directory application. What I didn't do... So I have so many errors that I can't publish or do anything in my vacation app on the ODC training portal. Thank you very much!

Captura de ecrã 2024-03-23 133824.png
Captura de ecrã 2024-03-23 134011.png
2023-11-07 18-53-22
José Rodrigues

Hey @Ana Nunes

You are getting those errors, because, like stated in the exercise, when you published the Vacations app before ever publishing the Directory app you created the 1st revision (1st version) of your Vacations App while you still have no revision of Directory App. 

The Employee Entity is probably defined in the Directory App and because you still haven't created the 1st revision of that and your Vacations App is probably consuming the Employee Entity from the Directory App, you get the unknown source error because the Vacancy App can't find the Employee Entity anywhere.

Try to Close the Vacancy app and open and publish the Directory App to create your 1st revision of the Directory App and then try to open the Vacancy App again and see if the errors disappear.

Let me know if it works

2020-11-10 07-09-26
Dadi

I was facing the same issue also, what I have done is hold Vacation development then try to publish Directory App. Once it has completed that will automatically refresh the dependencies that missing on Vacation app.


Goodluck

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.