Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1473

ConcurrentModificationException thrown (in JsonRequestProcessor.involvedKeys) when trying passing an unpersisted child Entity as an arg.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      ConcurrentModificationException thrown (in JsonRequestProcessor.involvedKeys) when trying passing an unpersisted child Entity as an arg.

      Code snippet:

      ProjectProxy project = requestFactory.create(Project.class);
      TaskProxy task1 = requestFactory.create(Task.class);
      TaskProxy task2 = requestFactory.create(Task.class);

      List<TaskProxy> tasks = new ArrayList<TaskProxy>();
      tasks.add(task1);
      tasks.add(task2);

      project.setTasks(tasks);

      requestFactory.projectRequests.persist(project).fire(...)

        Attachments

          Activity

            People

            Assignee:
            jlabanca John LaBanca
            Reporter:
            cramsdale Chris Ramsdale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: