Category not available during Link/Product (or any category item) creation

Components

Labels

Description

There is a "Parent Section" (virtual field: CategoryId) on each category item adding/editing page.

This field allows to place category item into a specific category. This functionality works like a charm, but problem happens, when you need to set another field's value based on the category, where category item is added.

Usually method OnBeforeItemCreate is used for this kind of operation. Strange, but this CategoryId field has no value in this method, however it's clearly is specified on category item creation screen.

Context Information

None

Additional information (do not use)

None

Attachments

1

Activity

Show:

Alex September 19, 2011 at 9:08 PM

Closing, since 5.1.3 release has been released.

Alex July 8, 2011 at 10:04 AM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0001058: Category not available during Link/Product (or any category item) creation

Dmitry Andrejev July 7, 2011 at 3:09 PM

Patch has been reviewed and tested. Moved to 5.1.3 release to get it out the way and make Merge to 5.2.0 easier.

Fixed

Priority

Assignee

Alex

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Fix versions

Affects versions

Created May 27, 2011 at 9:55 AM
Updated December 29, 2024 at 9:12 PM
Resolved September 19, 2011 at 9:08 PM