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

DBItem loading problem, when multiple keys are used

    XMLWordPrintable

    Details

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

      Description

      By default In-Portal looks for an ID of DBItem that is accessed from template in the url. When item ID is missing, but it's data needs to be displayed on a template, then "no_permission" template is shown.

      As a part of customization process developer sometimes needs to load DBItem from database using not it's ID, but a combination of fields.
      All works fine until nothing is loaded by a field combination.

      In this case <inp2:prefix_Field name="IDField"/> tag returns "Array" field instead of "" as usual for unsuccessfully loaded DBItems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: