CLI command cannot complete due to hardcoded tenant _dep in basic-plan-members.json

Open Beginner friendly
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
cli

Research direction

Start with industry/telecom/standard/audiences/basic-plan-members.json and compare its tenant references with plan-details.json. Read how getTenantId() substitutes {tenantId} during deployment, then verify the AJO Bootcamp CLI completes for sandboxes with different tenant IDs and both affected references resolve correctly.

Written by the indexing model from the issue text.

Description

Tenant name _dep is causing the CLI process for AJO Bootcamp to fail when run for different sandboxes.

The bug: In industry/telecom/standard/audiences/basic-plan-members.json, the segment's PQL expression hardcodes the tenant namespace as the literal string "_dep" (in both the expression.value PQL and the ansibleDataModel field id "profile._dep.plan.name"). But every schema field-group JSON in this repo uses a {tenantId} placeholder (e.g. plan-details.json) that gets swapped for the sandbox's real tenant ID at deploy time via getTenantId()

Dominant language
JavaScript
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.