Make sure parent object is still available when creating related asset
Reported by Mike Dvorkin | May 18th, 2009 @ 09:38 PM | in 0.9.7 "Steinitz"
Scenario #1:
- click [Edit] link to edit an account from accounts index page;
- login as another user and delete the account (or make it private);
- click [Edit] link to edit another account (as current user).
Expected behavior: previously open [Edit Account] form should be hidden, and the new [Edit Account] form open.
Scenario #2:
- click on the account;
- click [Create Contact] link on the account landing page to create related contact;
- login as another user and delete the account (or make it private);
- click [Create Contact] button to create the contact (as current user).
Expected behavior: the system should display the message warning that the account is no longer available. The contact shouldn't be created.
Comments and changes to this ticket
-
Mike Dvorkin May 19th, 2009 @ 09:29 PM
- State changed from new to open
-
Mike Dvorkin May 20th, 2009 @ 05:22 PM
(from [4b3208071dc0fb3a70ff86b62e9ded2faa523426]) Correctly handle scenario when previous asset is deleted or no longer available [#41 state:open] http://github.com/michaeldv/fat_free_crm/commit/4b3208071dc0fb3a70f...
-
Mike Dvorkin May 20th, 2009 @ 07:14 PM
(from [ce42331649605f58fc936ddce9479d2ff36e4a09]) Make sure we handle the case when related asset is deleted or no longer available (implemented for all assets except comments).
[#41 state:open] http://github.com/michaeldv/fat_free_crm/commit/ce42331649605f58fc9... -
Mike Dvorkin May 20th, 2009 @ 09:36 PM
- State changed from open to resolved
(from [0344438ea87c0306454d29fe0d596c8339fe0ef4]) - Make sure commentable object exists and is accessible to current user. - Implemented specs for Comments controller. [#41 state:resolved] http://github.com/michaeldv/fat_free_crm/commit/0344438ea87c0306454...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond
People watching this ticket
Referenced by
- 41 Make sure parent object is still available when creating related asset (from [4b3208071dc0fb3a70ff86b62e9ded2faa523426]) Correct...
- 41 Make sure parent object is still available when creating related asset (from [ce42331649605f58fc936ddce9479d2ff36e4a09]) Make su...
- 41 Make sure parent object is still available when creating related asset (from [0344438ea87c0306454d29fe0d596c8339fe0ef4]) - Make ...