Uploaded image for project: 'SEBA'
  1. SEBA
  2. SEBA-465

Eliminate core xproto warnings about null

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: February
    • Component/s: NEM
    • Labels:
      None

      Description

      These warnings are observed when xproto is run:

      core.Network_decl.permitted_slices: (fields.W340) null has no effect on ManyToManyField.
      core.NodeLabel_decl.node: (fields.W340) null has no effect on ManyToManyField.
       

       The problem may be that xos-genx assumes that all fields marked "required" should be set to null=False, blank=False. Null has no meaning on a ManyToMany field.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            scottb Scott Baker
            Reporter:
            scottb Scott Baker
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes