Skip to content

Missing "tagInclusionRule" from com.brightcove.commons.catalog.objects.Playlist #5

Description

@martinsmid914

Getting JSONException if I try to update playlist because of missing tagInclusionRule from playlist object.

My solution

  1. add instance var to Playlist

private String tagInclusionRule;

  1. add condition to finishConstruction method

else if("tagInclusionRule".equals(rootKey))
{
tagInclusionRule = rootValue.toString();
}

  1. create getter and setter
   public String getTagInclusionRule()
{
    return tagInclusionRule;
}

public void setTagInclusionRule(String tagInclusionRule)
{
    this.tagInclusionRule = tagInclusionRule;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions