LibrePlan / libreplan

LibrePlan - Open Web Planning
https://www.libreplan.dev
GNU Affero General Public License v3.0
289 stars 170 forks source link

Transient exception creating a project with an user with role "Project creation allowed" #1178

Closed kwoot closed 6 years ago

kwoot commented 13 years ago

(Original Bugzilla Bug ID: 1034)

Date: 2011-04-28 09:50:55 From: Manuel Rego Casasnovas \<rego@igalia.com> To: Manuel Rego Casasnovas \<rego@igalia.com> Version: navalplan-1.1 (1.1.x) Duplicate: 1057) Last updated: 2011-05-06 17:51:34


(Note: this issue was migrated automatically with bugzilla2github.py tool )

kwoot commented 6 years ago

Bugzilla Comment ID: 2637 Date: 2011-04-28 09:50:55 From: Manuel Rego Casasnovas \<rego@igalia.com>

1) Create a new user with just 1 role "Project creation allowed" 2) Login with the new user 3) Try to create a project (take into account that when you create a project it's saved just after closing the small creation form)

Message - object references an unsaved transient instance - save the transient instance before flushing: org.navalplanner.business.orders.entities.Order; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.navalplanner.business.orders.entities.Order

kwoot commented 6 years ago

Bugzilla Comment ID: 2638 Date: 2011-04-28 11:19:32 From: Manuel Rego Casasnovas \<rego@igalia.com>

commit 02c4aae66394ca87f23629cdf8a00d4c3d5c853e Author: Manuel Rego Casasnovas mrego@igalia.com Date: Thu Apr 28 11:02:26 2011 +0200

[Bug #1034] Fixed bug for users with "Project creation allowed" role.

If project is new and user has that role, then it can save the project
and edit it.

FEA: ItEr74S04BugFixing
kwoot commented 6 years ago

Bugzilla Comment ID: 2711 Date: 2011-05-06 17:51:34 From: Manuel Rego Casasnovas \<rego@igalia.com>