Project

General

Profile

Bug #622

[admin] the form for activityReason and ActivityCategory : active is not uncheckable

Added by Julien Fastré over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
09/26/2015
Due date:
% Done:

0%

Estimated time:
0.50 h
Spent time:

Description

In the admin part, if we uncheck the "active" checkbox, the form renders and html error : "checking this button is required".


Related issues

Related to CustomField - Bug #623: [admin] the "active" field in admin form is required In Progress 09/26/2015
Related to activity - Feature #651: Create test for activity reason type New 10/08/2015

Associated revisions

Revision 744a68f1
Added by Marc Ducobu over 3 years ago

Category unactive implies all the reasons with this category as unactive - refs #622

Revision e32dad56
Added by Marc Ducobu over 3 years ago

Setting an inactive category unactivate the reason - refs #622

Revision 4ef4a64e
Added by Marc Ducobu over 3 years ago

Template for ActivityReasonCategory with translation + better looking - refs #622

History

#1 Updated by Julien Fastré over 3 years ago

Possibles way to fix this :

  • uncheck the "required" section ;
  • add choices to have a yes/no possibility (in a radio (expanded) or select html widget)

+ check that "active" is taken into account in another pages (The activityReason and ActivityCategory should not be seen by users).

#2 Updated by Julien Fastré over 3 years ago

  • Related to Bug #623: [admin] the "active" field in admin form is required added

#3 Updated by Marc Ducobu over 3 years ago

the active field is not considered

#4 Updated by Julien Fastré over 3 years ago

What do you mean with :

the active field is not considered

#5 Updated by Marc Ducobu over 3 years ago

is not taken into consideration

#6 Updated by Marc Ducobu over 3 years ago

Also for ActivityCategory what do we do with all the activity of the category ? I think we should set them inactive too.

#7 Updated by Julien Fastré over 3 years ago

Also for ActivityCategory what do we do with all the activity of the category ? I think we should set them inactive too.

I also think that, if an ActivitCategory is set as "unactive", all ActivityReason linked with the category should not appears in the drop-down choice.

#8 Updated by Julien Fastré over 3 years ago

  • Assignee set to Julien Fastré

I am currently adding tests to this issue

#9 Updated by Julien Fastré over 3 years ago

  • Related to Feature #651: Create test for activity reason type added

#10 Updated by Julien Fastré over 3 years ago

  • Assignee deleted (Julien Fastré)
  • Status changed from New to Closed

I delay the tests, I have created a new issue for that (see #651).

Also available in: Atom PDF