Ticket #1150 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Portal factory finalizes unsaved objects

Reported by: jukka Owned by: jukka
Priority: blocker Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: Time remaining: 0h
Time spent:

Description

If user chooses cancel or wanders off from story creation, story gets published anyway. Same seems to happen with blogposts and this could be behind occassional multiple copies of methods, resources and tools. Find out what causes this.

Change History

comment:1 Changed 12 years ago by jukka

  • Status changed from new to closed
  • Resolution set to fixed
  • Time remaining set to 0h

(In [1375]) Fixed #1150, spent 20 min. It was a wrong alarm, blog posts seem to be working fine, I just remembered that they were broken in this aspect. General finding was that if something is created in portal factory ( by using invokeFactory(context, id) -method, selecting an object for further editing should also be done inside portal_factory: obj=getattr(context.portal_factory, id)

Note: See TracTickets for help on using tickets.