[Bug 1534631] [NEW] Error on data import due to username length

Public bug reported:

We use email addresses for our usernames, and when importing data using
the 'Import/export data' app I got an error saying that the 'storedBy'
value was too long. Even though in general users can store data and it
records it against their full username.

If you export out a dataset, and try and reload the dataset back into
DHIS2 without changing the username, you still get this error
(screenshot attached). This implies the data import routines seem to
deal with a different datatype than what the database schema actually
stores.

Using v2.20

** Affects: dhis2
     Importance: Undecided
         Status: New

** Summary changed:

- Error import due to username length
+ Error on data import due to username length

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1534631

Title:
  Error on data import due to username length

Status in DHIS:
  New

Bug description:
  We use email addresses for our usernames, and when importing data
  using the 'Import/export data' app I got an error saying that the
  'storedBy' value was too long. Even though in general users can store
  data and it records it against their full username.

  If you export out a dataset, and try and reload the dataset back into
  DHIS2 without changing the username, you still get this error
  (screenshot attached). This implies the data import routines seem to
  deal with a different datatype than what the database schema actually
  stores.

  Using v2.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1534631/+subscriptions

** Attachment added: "error on import"
   https://bugs.launchpad.net/dhis2/+bug/1534631/+attachment/4550539/+files/Screen%20Shot%202016-01-15%20at%2015.22.06.png

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1534631

Title:
  Error on data import due to username length

Status in DHIS:
  New

Bug description:
  We use email addresses for our usernames, and when importing data
  using the 'Import/export data' app I got an error saying that the
  'storedBy' value was too long. Even though in general users can store
  data and it records it against their full username.

  If you export out a dataset, and try and reload the dataset back into
  DHIS2 without changing the username, you still get this error
  (screenshot attached). This implies the data import routines seem to
  deal with a different datatype than what the database schema actually
  stores.

  Using v2.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1534631/+subscriptions

Fixed and backportet to 2.22, 2.21

** Changed in: dhis2
       Status: New => Confirmed

** Changed in: dhis2
       Status: Confirmed => Fix Committed

** Changed in: dhis2
    Milestone: None => 2.23

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
   Importance: Undecided => Medium

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1534631

Title:
  Error on data import due to username length

Status in DHIS:
  Fix Committed

Bug description:
  We use email addresses for our usernames, and when importing data
  using the 'Import/export data' app I got an error saying that the
  'storedBy' value was too long. Even though in general users can store
  data and it records it against their full username.

  If you export out a dataset, and try and reload the dataset back into
  DHIS2 without changing the username, you still get this error
  (screenshot attached). This implies the data import routines seem to
  deal with a different datatype than what the database schema actually
  stores.

  Using v2.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1534631/+subscriptions

** Changed in: dhis2
       Status: Fix Committed => Fix Released

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1534631

Title:
  Error on data import due to username length

Status in DHIS:
  Fix Released

Bug description:
  We use email addresses for our usernames, and when importing data
  using the 'Import/export data' app I got an error saying that the
  'storedBy' value was too long. Even though in general users can store
  data and it records it against their full username.

  If you export out a dataset, and try and reload the dataset back into
  DHIS2 without changing the username, you still get this error
  (screenshot attached). This implies the data import routines seem to
  deal with a different datatype than what the database schema actually
  stores.

  Using v2.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1534631/+subscriptions