Change concept used for category path matching to module root category

Labels

Description

Change "CategoryHelper::getCategoryModule" to compare each of given categories in reverse order to each module category.

Context Information

None

Additional information (do not use)

None

Activity

Alex July 16, 2017 at 12:56 PM

alex added a dependent revision for D161: https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module root category: D275: https://in-portal.atlassian.net/browse/INP-1661#icft=INP-1661 - Check "CategoryHelper::getCategoryModule" method call result before using it.

Alex November 28, 2016 at 9:26 AM

Closing issues of a released version.

Alex March 10, 2016 at 11:40 AM

alex added a project to D161: https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module root category: Intechnic: RRS.

Alex January 17, 2016 at 11:36 AM

alex closed D161: https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module root category by committing rINP16308: Fixes https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module….
alex updated the diff for D161: https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module root category.

[API] Administrator January 17, 2016 at 11:36 AM

User committed a fix to 5.2.x. Commit Message:

Fixes https://in-portal.atlassian.net/browse/INP-1509#icft=INP-1509 - Change concept used for category path matching to module root category

Differential Revision: http://qa.in-portal.org/D161

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

BC Break Details

Deleted methods:

  • "CategoryHelper::getModuleRootCategories"

Return value changed:

  • the "CategoryHelper::getCategoryModule" returns "array();" instead of "false", when module isn't found.

Solution

  1. make "CategoryHelper::getCategoryModule" return "false" when no match was found.

Story Points

Fix versions

Created October 30, 2015 at 4:10 PM
Updated December 29, 2024 at 8:54 PM
Resolved January 17, 2016 at 11:36 AM