← Back to team overview

divmod-dev team mailing list archive

[Bug 829872] [NEW] SubStore.createNew is too easy to misuse

 

Public bug reported:

createNew takes a list/tuple of path segments; if you pass a string
instead, then each letter of the string ends up used as a path
component. While this is relatively harmless, it is also unlikely to be
the desired behaviour; and in fact, the tests already make this mistake
in one place.

** Affects: divmod-axiom
     Importance: Undecided
         Status: New

** Branch linked: lp:~divmod-dev/divmod.org/829872-createnew-type-check

-- 
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Divmod Axiom.
https://bugs.launchpad.net/bugs/829872

Title:
  SubStore.createNew is too easy to misuse

Status in Divmod Axiom:
  New

Bug description:
  createNew takes a list/tuple of path segments; if you pass a string
  instead, then each letter of the string ends up used as a path
  component. While this is relatively harmless, it is also unlikely to
  be the desired behaviour; and in fact, the tests already make this
  mistake in one place.

To manage notifications about this bug go to:
https://bugs.launchpad.net/divmod-axiom/+bug/829872/+subscriptions


Follow ups

References