Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-442

Empty CategoryId in Item object after it's Created

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.3-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      Topic (or category item) url leads to home page in TOPIC.ADD email event in
      case, when topic creation confirmation template is not used. This happens
      because just after topic (any other category item) is created it's
      CategoryId virtual field is not filled with current category (where topic
      was added to), but this CategoryId field is used later to build link to this
      topic in TOPIC.ADD email event.
      To fix this you should set CategoryId field to $category_id (when passed) in
      kCatDBItem::assignPrimaryCategory() method (only when $category_id is not
      empty).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmitry Dmitry Andrejev [Intechnic]
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: