Skip to content
Snippets Groups Projects

Removes duplicate prefix when calling getNidsOfType

Merged Christian Burk requested to merge issue/codit_batch_operations-3440588:1.0.x into 1.0.x

I updated the code to prevent a duplicate "item_item_" string in the log.

Testing

  1. Add a custom script in your my_module/src/cbo_scripts folder.
  2. In the custom script, using the getNidsOfType() method inside the gatherItemsToProcess() method.
  3. Run your script.
  4. Confirm that each log row starts with "item_{nid}".
Edited by Christian Burk

Merge request reports

Approval is optional

Merged by Steve WirtSteve Wirt 11 months ago (Apr 15, 2024 2:58pm UTC)

Merge details

  • Changes merged into with c531aea4.
  • Did not delete the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading