Prompt Cross-portal scripting "get-page" are working regardless of the CrossPortalId specified as parameter

Description

Steps:

  1. For some platform installation (DNN_Platform_9.2.0.323-661).

  2. Login as host.

  3. From PB, Go Manage, sites.

  4. Add new child site (site2) (Will get ID=1) with type Domain (yourMainURL/site2)

  5. Login to the child site, add new page (In my case it has ID=52).

  6. Use fiddler

  7. Pass the url of you main site +"/API/PersonaBar/Command/Cmd/0" as POST (This targets scripting over the main site with id=0)

  8. Add all required headers (From the main site's instance)

  9. Pass this in the request's body: {"cmdLine=get-page 52"}

  10. Execute the request.

Result:

  • You'll get in the body of your request that the your action is done successfully.

Expected:

  • You should get error as this page does'nt exist in portal id 0, and if portal id is not passed then success message.

QA Test Plan

None

Assignee

Mahalakshmi A

Reporter

Mohtshm

Story Size

S

Severity

Major

Triage

New

Fixed in Build

Dev Owner

Mohtshm

Includes Code Fix

No

Documentation Required

None

Trouble Ticket

None

Requires More Info

None

QA Story Points

None

QA Owner

None

Injected

None

Automation Required

None

Code Review Owner

None

Story Points

1

Components

Fix versions

Priority

High
Configure