[
https://issues.apache.org/jira/browse/AIRAVATA-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999060#comment-13999060
]
ASF subversion and git services commented on AIRAVATA-1219:
-----------------------------------------------------------
Commit 3d76388b55b47c3a8e67f4c7a008525502e4c340 in airavata's branch
refs/heads/master from [~chathuri]
[ https://git-wip-us.apache.org/repos/asf?p=airavata.git;h=3d76388 ]
fixing AIRAVATA-1219 and AIRAVATA-1220
> UpdateExperiment has problem to set Computational Resource
> ----------------------------------------------------------
>
> Key: AIRAVATA-1219
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1219
> Project: Airavata
> Issue Type: Bug
> Components: Airavata API
> Reporter: Raminderjeet Singh
> Assignee: Chathuri Wimalasena
>
> Caused by: javax.persistence.NonUniqueResultException: Query "SELECT p FROM
> Computational_Resource_Scheduling p WHERE p.expId =:param0" selected 3
> results, but expected unique result.
> at
> org.apache.openjpa.persistence.QueryImpl.getSingleResult(QueryImpl.java:335)
> at
> org.apache.airavata.persistance.registry.jpa.resources.ExperimentResource.get(ExperimentResource.java:331)
> at
> org.apache.airavata.persistance.registry.jpa.resources.ExperimentResource.getComputationScheduling(ExperimentResource.java:621)
> at
> org.apache.airavata.persistance.registry.jpa.impl.ExperimentRegistry.updateSchedulingData(ExperimentRegistry.java:1598)
--
This message was sent by Atlassian JIRA
(v6.2#6252)