500 thrown when sharing a project with someone who already has it shared.
- Run from clean database
- Login as jamie or adam
- Go into project "Example 1"
- Share with adam
| {"newUserEmail":"jatuttle@**","id":1} |
| {"errors":["The value for property coldfusion.runtime.Struct cannot be retrieved from object of type id. Expected object type is project. ","Root cause :org.hibernate.HibernateException: The value for property coldfusion.runtime.Struct cannot be retrieved from object of type id. Expected object type is project. ","\tat cfprojects2ecfc1768235541$funcSHARE.runFunction(\/Users\/jamiely\/Documents\/Adobe ColdFusion Builder workspace\/intermap\/store\/app\/services\/projects.cfc:31)"],"data":{"name":"Adam","id":2.0,"email":"jatuttle@**","projects":[]}} |
Planning to return 409 when pre-existing