Skip to content

Cannot create ad #78

@mhodge13

Description

@mhodge13

An issue has been created with the PR (#77)

The $skips array was removed (https://github.com/openclassify/advs-module/pull/77/files#diff-3f732e2090c80e126f0dcb1bb6137fa1df04ba74989d723b6654536ae0bd3aa2L12-L15) in favor of a setSkips function (https://github.com/openclassify/advs-module/pull/77/files#diff-3f732e2090c80e126f0dcb1bb6137fa1df04ba74989d723b6654536ae0bd3aa2R110-R115).

The issue with this change is that setSkips never gets called and causes the ads to not get created.

Should the $skips array get added back in or should the setSkips function get called somewhere?

I tested this on a fresh install and it causes the same error on ad creation. 'The "slug" field is required"

Screenshot 2023-03-14 at 4 25 21 PM

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