If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 31/Jul/12 10:42 AM
Updated: 01/Aug/12 03:48 AM
|
|
Component/s: |
None
|
Affects Version/s: |
4.0.14
|
Fix Version/s: |
None
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
Environment:
|
linux
|
|
as solved previously
for getting a list of chidren of a given parent id as
i tried as
import com.pmease.quickbuild.persistence.*;
logger.info("The purpose of this script is to take backup of views of all projects");
SessionManager.openSession();
try {
def reloaded = system.configurationManager.load(1);
for (child in reloaded.getDescendents())
{
}
} finally {
SessionManager.closeSession();
}
The problem is that it was working fine till yesterday,but today it is not working,
on my locally installed QB it is still working fine but on the linux server where actually it is to be deployed it is throwing error as :
Caused by: com.pmease.quickbuild.QuickbuildException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.pmease.quickbuild.model.Configuration.children, no session or session was closed
NOTE: it was working fine till yesterday
|
Description
|
as solved previously
for getting a list of chidren of a given parent id as
i tried as
import com.pmease.quickbuild.persistence.*;
logger.info("The purpose of this script is to take backup of views of all projects");
SessionManager.openSession();
try {
def reloaded = system.configurationManager.load(1);
for (child in reloaded.getDescendents())
{
}
} finally {
SessionManager.closeSession();
}
The problem is that it was working fine till yesterday,but today it is not working,
on my locally installed QB it is still working fine but on the linux server where actually it is to be deployed it is throwing error as :
Caused by: com.pmease.quickbuild.QuickbuildException: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.pmease.quickbuild.model.Configuration.children, no session or session was closed
NOTE: it was working fine till yesterday |
Show » |
|