OpenRPA version: 1.4.57.2
OpenFlow version: 1.5.10
Using app.openiap.io or self hosted openflow: self hosted
Hi,
There seems to be a serialization issue somewhere with project dependencies when you “edit” a project entity from OpenFlow.
Steps:
- Create a project in OpenRPA, add any dependency to it.
- In OpenFlow, open
openrpa
collection and find the project. - Save the project entry (you don’t need to change anything there).
- Synchronize OpenRPA to get the new version of the project.
- Check local cache (used file storage, not sure if present with db) and open the project file.
- The dependency now has multiple underscores instead of dots in the dependency name.
Effect: OpenRPA is not able to process the dependency and errors out when trying to refresh them.
“Fix” when it occurs: locally edit the project and push a new version to OpenFlow (close OpenRPA, fix the underscores bug, increment the version and start OpenRPA again)
Workaround: Do not save project entities from OpenFlow, use only OpenRPA.
While the “workaround” makes sense, it’s still weird, since the dependencies are just a json object (of which there are tons in OpenFlow/OpenRPA passed around), so a serialization error there is quite surprising.
Editing projects from OpenFlow makes sense from role management perspective (add/.remove roles for a project), so it’s not necessarily just a “why would you do it” hypothetical question.