Page MenuHomeIn-Portal Phabricator

INP-1509 - Change concept used for category path matching to module root category
ClosedPublic

Authored by alex on Oct 30 2015, 11:43 AM.

Details

Test Plan

Part 1 (checking c_Meta tag)

  • in the Admin Console:
    1. go to ConfigurationWebsiteOutput section
    2. enter values for Default META Keywords and Default META description system settings
    3. go to Website & ContentStructure & Data section
    4. enter Directory category
    5. create sub-category with Meta Keywords and Meta Description fields filled-in
    6. enter created category
    7. create a link with with Meta Keywords and Meta Description fields filled-in and in Active status
  • on the Front-End:
    1. go to Directory category
    2. confirm, that <meta tags show values from system settings
    3. go to sub-category of Directory category
    4. confirm, that <meta tags show values from that category
    5. go to link in that category
    6. confirm, that <meta tags show values from that link

Part 2 (main)

  • in Admin Console:
    1. go to Website & ContentStructure & Data section
    2. select Articles tab
    3. go to any other section (e.g. Website & ContentLabels & Phrases)
    4. go to Website & ContentStructure & DataHome section
    5. confirm, that Sections tab was auto-selected
    6. click on Products category
    7. confirm, that Products tab was auto-selected
    8. click on any 2nd level category (e.g. PlatformPage Not Found)
    9. confirm, that Sections tab was auto-selected
    10. click on Products tab
    11. click on Website & ContentStructure & Data section
    12. confirm, that Sections tab was auto-selected
    13. click on Products tab
    14. go to any other section (e.g. Website & ContentLabels & Phrases)
    15. go to Website & ContentStructure & Data section
    16. confirm, that Sections tab was auto-selected
    17. go to ConfigurationWebsiteOutput section
    18. uncheck Switch Catalog tabs based on Module setting
    19. re-login to Admin Console
    20. confirm, that none of above described tab auto-switching works

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint ErrorsExcuse: Will be fixed in 5.3.x.
SeverityLocationCodeMessage
Errorcore/units/configuration/configuration_event_handler.php:385PHPCS.E.CodingStandard.Array.Array.SpaceAfterKeywordCodingStandard.Array.Array.SpaceAfterKeyword
Errorcore/units/configuration/configuration_event_handler.php:385PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Errorcore/units/configuration/configuration_event_handler.php:385PHPCS.E.Generic.PHP.LowerCaseKeyword.FoundGeneric.PHP.LowerCaseKeyword.Found
Errorcore/units/helpers/category_helper.php:42PHPCS.E.Generic.WhiteSpace.ScopeIndent.IncorrectExactGeneric.WhiteSpace.ScopeIndent.IncorrectExact
Errorcore/units/sections/sections_config.php:64PHPCS.E.CodingStandard.Formatting.ItemAssignment.MixedWhitespaceAfterCodingStandard.Formatting.ItemAssignment.MixedWhitespaceAfter
Errorcore/units/sections/sections_config.php:64PHPCS.E.CodingStandard.Formatting.ItemAssignment.MixedWhitespaceBeforeCodingStandard.Formatting.ItemAssignment.MixedWhitespaceBefore
Errorcore/units/sections/sections_config.php:64PHPCS.E.CodingStandard.Formatting.SpaceOperator.SpacingBeforeCodingStandard.Formatting.SpaceOperator.SpacingBefore
Errorcore/units/sections/sections_config.php:64PHPCS.E.Squiz.WhiteSpace.OperatorSpacing.SpacingAfterSquiz.WhiteSpace.OperatorSpacing.SpacingAfter
Unit
No Unit Test Coverage
Build Status
Buildable 245
Build 245: arc lint + arc unit

Event Timeline

alex updated this revision to Diff 395.Oct 30 2015, 11:43 AM
alex retitled this revision from to INP-1509 - Change concept used for category path matching to module root category.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1509.
glebs accepted this revision.Nov 2 2015, 1:59 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Nov 2 2015, 1:59 AM
alex planned changes to this revision.Nov 6 2015, 8:35 AM

The Sections tab isn't activated when topmost section (the Structure & Data) is clicked.

alex updated this revision to Diff 403.Nov 6 2015, 8:53 AM
alex edited edge metadata.

Selecting Structure & Data category wasn't causing tab auto-switching.

This revision is now accepted and ready to land.Nov 6 2015, 8:53 AM
alex requested a review of this revision.Nov 6 2015, 8:54 AM
alex edited edge metadata.

Please re-test.

alex edited the test plan for this revision. (Show Details)Nov 6 2015, 9:00 AM
alex edited edge metadata.
glebs accepted this revision.Nov 27 2015, 2:54 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Nov 27 2015, 2:54 AM
This revision was automatically updated to reflect the committed changes.
alex edited edge metadata.Mar 10 2016, 5:40 AM
alex added a project: Restricted Project.