Forum Discussion

ioloware's avatar
ioloware
Channel Surfer
2 years ago
Solved

Static analysis failing: Subscription services must create product groups

It seems like there has been a recent change which is causing my channel to fail static analysis.


I only have one product (a monthly subscription), however I now see this error that is requiring me to make product groups for mutually exclusive products.

Static analysis error:

Subscription services must create product groups in the Developer Dashboard for any set of subscription products that the consumer should not be able to be subscribed to simultaneously. Error ChannelStore RP 3.1;RP 3.2;


Because I only have one product, I cannot make a product group.

This seems to be an addition to the static analysis tooling because if I package older versions of my channel (which had previously passed), I am now seeing this error.
I haven't been adding new products.

Would appreciate any ideas on this.

  • Ah, I should have posted.
    Yes, Roku found the bug and fixed it within a couple of days!

  • idris's avatar
    idris
    Channel Surfer

    It seems like a bug in Static Analysis tool, as for just one Subscription SKU, it should not show the error.
    To overcome this issue you can create an Annual Subscription SKU just for the sake of creating the group.

    • Jack1590's avatar
      Jack1590
      Reel Rookie

      Thanks, Just curious did you get that fix from ROKU ?

      • ioloware's avatar
        ioloware
        Channel Surfer

        Ah, I should have posted.
        Yes, Roku found the bug and fixed it within a couple of days!

  • ioloware's avatar
    ioloware
    Channel Surfer

    I see that the Roku Static Analysis tool was just updated:

    Static Channel Analysis

    Version 12.5.1 (02.15.2024)
    Features:
    - Switched severity to Error for Certification Requirement RP 3.1 and RP 3.2.


    Interestingly enough, if I download and run the tool on my channel, it does not report the RP 3.1 and 3.2 errors.