Skip to content

Instantly share code, notes, and snippets.

@jamiely
Created August 4, 2011 14:35
Show Gist options
  • Select an option

  • Save jamiely/1125296 to your computer and use it in GitHub Desktop.

Select an option

Save jamiely/1125296 to your computer and use it in GitHub Desktop.
Intermap - API Issue 20110804 - Duplicate Share
{"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":[]}}

Intro

500 thrown when sharing a project with someone who already has it shared.

Reproduce

  1. Run from clean database
  2. Login as jamie or adam
  3. Go into project "Example 1"
  4. Share with adam
@atuttle

atuttle commented Aug 4, 2011

Copy link
Copy Markdown

Planning to return 409 when pre-existing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment