Ticket #215 (closed defect: fixed)

Opened 1 year ago

Last modified 1 month ago

PhotoFolder.create() causes Hibernate exception

Reported by: harri Owned by: harri
Priority: major Milestone: 0.6.0
Component: folder Version:
Keywords: Cc:
Test Case Result:

Description

PhotoFolder?.create() adds an transient instance of the created folder to given parent folder. The prototype of the method should be reconsidered - either it should persist the new fodler (and take session as parameter) or not allow setting parent.

Of course, using the whole method is not recommended.

Change History

Changed 1 month ago by harri

  • status changed from new to closed
  • resolution set to fixed

The method was moved to !PhotoFolderDAO and now it persists the photo correctly (as well as adds initializes versioning)

Note: See TracTickets for help on using tickets.