In don't know if this is due to the fact that I am using a localized (French) version, but in admin/structure/block/manage/my_block the "Content type" setting under "visibility" is duplicated with the French equivalent.
The only differences between the 2 settings is the "invert selection" option which is available only for the "English" setting.
See the attached screencapt.
For info, here are the enabled modules

 Package              Name                                                     Version              
 Administration       Admin Toolbar (admin_toolbar)                                                 
 Administration       Admin Toolbar Extra Tools (admin_toolbar_tools)                               
 Blazy                Blazy UI (blazy_ui)                                      8.3.0-dev            
 Chaos tool suite     Chaos tools Views (ctools_views)                         8.x-3.0-alpha27      
 Core                 Actions (action)                                         8.3.x-dev            
 Core                 Automated Cron (automated_cron)                          8.3.x-dev            
 Core                 Block (block)                                            8.3.x-dev            
 Core                 Breakpoint (breakpoint)                                  8.3.x-dev            
 Core                 CKEditor (ckeditor)                                      8.3.x-dev            
 Core                 Color (color)                                            8.3.x-dev            
 Core                 Comment (comment)                                        8.3.x-dev            
 Core                 Configuration Manager (config)                           8.3.x-dev            
 Core                 Contact (contact)                                        8.3.x-dev            
 Core                 Contextual Links (contextual)                            8.3.x-dev            
 Core                 Custom Block (block_content)                             8.3.x-dev            
 Core                 Custom Menu Links (menu_link_content)                    8.3.x-dev            
 Core                 Database Logging (dblog)                                 8.3.x-dev            
 Core                 Field (field)                                            8.3.x-dev            
 Core                 Field UI (field_ui)                                      8.3.x-dev            
 Core                 Filter (filter)                                          8.3.x-dev            
 Core                 Help (help)                                              8.3.x-dev            
 Core                 History (history)                                        8.3.x-dev            
 Core                 Internal Dynamic Page Cache (dynamic_page_cache)         8.3.x-dev            
 Core                 Internal Page Cache (page_cache)                         8.3.x-dev            
 Core                 Menu UI (menu_ui)                                        8.3.x-dev            
 Core                 Node (node)                                              8.3.x-dev            
 Core                 Path (path)                                              8.3.x-dev            
 Core                 Quick Edit (quickedit)                                   8.3.x-dev            
 Core                 RDF (rdf)                                                8.3.x-dev            
 Core                 Responsive Image (responsive_image)                      8.3.x-dev            
 Core                 Search (search)                                          8.3.x-dev            
 Core                 Shortcut (shortcut)                                      8.3.x-dev            
 Core                 System (system)                                          8.3.x-dev            
 Core                 Taxonomy (taxonomy)                                      8.3.x-dev            
 Core                 Text Editor (editor)                                     8.3.x-dev            
 Core                 Toolbar (toolbar)                                        8.3.x-dev            
 Core                 Update Manager (update)                                  8.3.x-dev            
 Core                 User (user)                                              8.3.x-dev            
 Core                 Views (views)                                            8.3.x-dev            
 Core                 Views UI (views_ui)                                      8.3.x-dev            
 Core (Experimental)  Datetime Range (datetime_range)                          8.3.x-dev            
 Custom               Artemis Productions Business Logic (artprod)             1                    
 Custom               Linkit (linkit)                                                               
 Custom               Text templates with tokens Config Entity (texttok)       8.3.0-dev            
 Development          Devel (devel)                                                                 
 Development          Devel Kint (kint)                                                             
 Development          Search kint (search_kint)                                                     
 Field types          Address (address)                                                             
 Field types          Country (country)                                        8.3.0-dev            
 Field types          Datetime (datetime)                                      8.3.x-dev            
 Field types          Field collection (field_collection)                                           
 Field types          File (file)                                              8.3.x-dev            
 Field types          Image (image)                                            8.3.x-dev            
 Field types          Language field (languagefield)                           8.x-1.1              
 Field types          Link (link)                                              8.3.x-dev            
 Field types          Options (options)                                        8.3.x-dev            
 Field types          Telephone (telephone)                                    8.3.x-dev            
 Field types          Text (text)                                              8.3.x-dev            
 Fields               Field Group (field_group)                                                     
 Fields               File (Field) Paths (filefield_paths)                                          
 Fields               Inline Entity Form (inline_entity_form)                                       
 Filters              Entity Embed (entity_embed)                              8.x-1.0-beta1        
 Flags                Flag (flag)                                                                   
 Mail                 Simplenews (simplenews)                                  8.x-1.0-alpha2       
 Masonry              Masonry API (masonry)                                                         
 Masonry              Masonry Views (masonry_views)                            8.x-1.0-rc1          
 Media                Crop API (crop)                                                               
 Media                dropzonejs (dropzonejs)                                                       
 Media                DropzoneJS entity browser widget (dropzonejs_eb_widget)                       
 Media                Entity Browser (entity_browser)                                               
 Media                Entity Browser IEF (entity_browser_entity_form)                               
 Media                ImageWidgetCrop (image_widget_crop)                                           
 Media                Intense images (intense)                                 8.3.0-dev            
 Multilingual         Interface Translation (locale)                           8.3.x-dev            
 Multilingual         Language (language)                                      8.3.x-dev            
 Other                Block Visibility Groups (block_visibility_groups)        8.x-1.1              
 Other                Contact storage (contact_storage)                        8.3.0-dev            
 Other                Content Browser (content_browser)                                             
 Other                Embed (embed)                                                                 
 Other                Entity (entity)                                                               
 Other                File Browser (file_browser)                                                   
 Other                Form Mode Manager (form_mode_manager)                                         
 Other                Libraries (libraries)                                                         
 Other                Pathauto (pathauto)                                                           
 Other                RoleAssign (roleassign)                                                       
 Other                Shuffle (shuffle)                                                             
 Other                Token (token)                                            8.x-1.0-beta1        
 Slick                Slick (slick)                                            8.3.0-dev            
 Slick                Slick UI (slick_ui)                                      8.3.0-dev            
 Slick                Slick views (slick_views)                                8.3.0-dev            
 Video Embed Field    Video Embed Field (video_embed_field)                    8.x-1.3              
 Views                Views Autocomplete Filters (views_autocomplete_filters)  8.x-1.1              
 Views                Views Bootstrap (views_bootstrap)                                             
 Views                Views Data Export (views_data_export)                                         
 Web services         RESTful Web Services (rest)                              8.3.x-dev            
 Web services         Serialization (serialization)                            8.3.x-dev            
 Web services         Serialization (CSV) (csv_serialization)                                       
 Web services         Serialization (Excel) (xls_serialization)                8.x-1.0-alpha2+0-dev 

CommentFileSizeAuthor
block_visibility_duplicate.png77.87 KBDuneBL
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuneBL created an issue. See original summary.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

manuel.adan’s picture

Title: Duplicate setting in block visibility » Duplicate node type setting in block visibility
Status: Active » Closed (works as designed)
Issue tags: +ctools
Related issues: +#2857279: Duplicate node type visibility condition in block settings, +#2857282: Remove node visibility condition code from block settings form

Exactly same issue here, using 8.2.6 version.

I found that node type visibility condition is added twice in Drupal core. The one with "negate condition" option is provided by the node module (node type condition plugin at core/modules/node/src/Plugin/Condition/NodeType.php). The are another node_type visibility condition at the block settings form (core/modules/block/src/BlockForm.php, line 259).

However such visibility condition is shown only once in a fresh 8.2.6 installation with standard profile, becouse the two visibility conditions have the same id: "node_type". So that's not the bug real reason.

CTools related bug

Bug comes along when ctools module is installed (tested with 8.x-3.0-alpha27 and alpha27+1-dev). It adds a new condition visibility for the node entity type, with a different id: "entity_bundle:node".

Proposed solution

From all of this we have two things:

  1. This is a ctools bug, not core related at all. So closing this as works as designed and translated to ctools module issue list: #2857279: Duplicate node type visibility condition in block settings
  2. Node type condition visibility should be removed from the block settings form code in the core block module. I created a new drupal core issue for this: #2857282: Remove node visibility condition code from block settings form