Unexpected output: Affected paths: relative - resubmit patch.
⚙ D30 INP-1205 - Add "Properties" tab, when editing "Home" category in Admin Console
Page MenuHomeIn-Portal Phabricator

INP-1205 - Add "Properties" tab, when editing "Home" category in Admin Console
Needs RevisionPublic

Authored by alex on Dec 27 2014, 4:42 AM.

Details

Reviewers
erik
Test Plan

Preparations (Admin Console)

  • login using Administrator account (not root user)
  • go to Website & ContentStructure & Data section
  • click on Tools button in the toolbar
  • select Edit Current Section option
  • confirm, that Properties tab is visible
  • click on Permissions tab
  • set permissions for admin user group on In-Link tab according to
  • go to Properties tab
  • set #in-link/item_design# to the Link Item Template field
  • save changes by pressing Save toolbar button
  • click on Links tab
  • use New Link toolbar button to create link, that has:
    • Status radio button is Active
    • Parent Section dropdown is Home
    • Editors Pick checkbox is checked

Part 1 (without mod-rewrite)

NOTE: Replace http://www.domain.tld/path/to/in-portal/ with your In-Portal installation location.
  1. in Admin Console
    • go to ConfigurationWebsiteAdvanced section
    • uncheck Enable SEO-friendly URLs mode (MOD-REWRITE) setting and save changes
  2. on Front-End
    • go to http://www.domain.tld/path/to/in-portal/ url (no index.php part)
    • confirm that created link is shown in Editor's Pick Links block
    • click on logo (top left corner)
    • confirm, that URL was changed into http://www.domain.tld/path/to/in-portal/index.php?env=-index%3Am0-1-1-1-s-
    • confirm that created link is shown in Editor's Pick Links block
    • click on link name
    • confirm, that clicked link detail page was opened (ignore fact, that navigation bar looks like Home >)

Part 2 (with mod-rewrite)

NOTE: Replace http://www.domain.tld/path/to/in-portal/ with your In-Portal installation location.
  1. in Admin Console
    • go to ConfigurationWebsiteAdvanced section
    • check Enable SEO-friendly URLs mode (MOD-REWRITE) setting and save changes
  2. on Front-End
    • go to http://www.domain.tld/path/to/in-portal/ url (no mod-rewrite url part)
    • confirm that created link is shown in Editor's Pick Links block
    • click on logo (top left corner)
    • confirm, that URL stayed the same
    • click on link name
    • confirm, that clicked link detail page was opened (ignore fact, that navigation bar looks like Home >)

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 82.Dec 27 2014, 4:42 AM
alex retitled this revision from to INP-1205 - Category item in "Home" category not accessible.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added a reviewer: dmitry.
alex added 1 JIRA issue(s): INP-1205.
alex edited the test plan for this revision. (Show Details)Oct 25 2015, 3:02 PM
alex edited reviewers, added: glebs; removed: dmitry.
alex updated this revision to Diff 393.Oct 25 2015, 3:05 PM

Links placed in Home category weren't shown on Front-End even with all permissions given.

alex edited the test plan for this revision. (Show Details)Oct 25 2015, 3:05 PM
glebs accepted this revision.Oct 27 2015, 3:07 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Oct 27 2015, 3:07 AM
alex retitled this revision from INP-1205 - Category item in "Home" category not accessible to INP-1205 - Add "Properties" tab, when editing "Home" category in Admin Console.Mar 27 2016, 8:35 AM
alex edited edge metadata.
alex edited the test plan for this revision. (Show Details)Jul 14 2016, 3:33 AM
alex edited reviewers, added: erik; removed: glebs.
This revision now requires review to proceed.Jul 14 2016, 3:33 AM
alex updated this revision to Diff 569.Jul 14 2016, 3:35 AM
alex edited the test plan for this revision. (Show Details)

Removed unnecessary changes.

erik requested changes to this revision.Aug 3 2016, 4:51 AM
erik edited edge metadata.

Some tests failed.

  1. Preparations - "confirm, that Properties tab is visible" - Properties tab is visible, but is not active. Test supposes that Properties must be active - it tells click on Permissions tab to select it.
  2. Part 2 (with mod-rewrite) - "confirm, that clicked link detail page was opened" - not opened. Opened "404 not found" page. When link is under links directory - detail page opens normally. Under home - 404 not found.
This revision now requires changes to proceed.Aug 3 2016, 4:51 AM