Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Option to select a Folders CSV from user’s system (of user’s system)

  2. There is a link to sample file: “Sample CSV”

  3. User selects folders file, user clicks “Upload”. System provides a message “Validating file”

  4. The system should first validate file. Following are the validations:

    1. All the columns are present: All columns as in the template should be present

    2. All the mandatory columns have values filled in: “Level 1 Folder” is mandatory. If any Level columns are filled in, all the previous level columns are mandatory.

    3. There are no duplicate folders: The sequence of all level folder names should be unique. For example,

      1. Following are duplicate rows:

        1. Row 1 - Level 1: Chapter 1, Level 2: Explanation Content, Level 3: Explanation Videos

        2. Row 2 - Level 1: Chapter 1, Level 2: Explanation Content, Level 3: Explanation Videos

      2. Following are NOT duplicate rows:

        1. Row 1 - Level 1: Chapter 1, Level 2: Explanation Content, Level 3: Explanation Videos

        2. Row 2 - Level 1: Chapter 2, Level 2: Explanation Content, Level 3: Explanation Videos

  5. In case there are errors in the file validation, display relevant error message on the Upload dialog: “The file has following errors. Please check and upload again”

    1. Some columns are not available:
      “Following columns are not found in the file: <list the missing column names>”

    2. Some mandatory columns have values missing:
      “Following rows have missing values: <list the row numbers (starting from 1) with missing values>“

    3. Some duplicate rows found:
      ”Following rows that are duplicate: <list the row numbers (starting from 1) that are duplicate>“

  6. In case file doesn’t have any validation errors, the dialog shows “Upload is in progress” (note: this is a synchronous process)

  7. Once the upload is complete, the dialog closes and updated folder hierarchy is shown in the collection editor.

...

  1. Option to select a Folders CSV from user’s system (of user’s system)

  2. There is a message stating “This should be the same file that you have downloaded using “Download folders as CSV” option”

  3. User selects folders file, user clicks “Upload”“Update”. System provides a message “Validating file”

  4. The system should first validate file. Following are the validations:

    1. All the columns are present: All columns as in the template should be present

    2. All the mandatory columns have values filled in. Following columns are mandatory:

      1. Collection Name, Folder Identified

      2. “Level 1 Folder” is mandatory. If any Level columns are filled in, all the previous level columns are mandatory.

      Validations for each column:
      1. Folder Identifiers column should be unique

    3. In case there are errors in the file validation, display relevant error message on the Upload dialog: “The file has following errors. Please check and upload again”

    4. Some columns are not available:
      “Following columns are not found in the file: <list the missing column names>”

    5. Some mandatory columns have values missing:
      “Following rows have missing values: <list the row numbers (starting from 1) with missing values>“

    6. Some rows have duplicate rows foundfolder identifiers:
      ”Following rows that are have duplicate folder identifiers: <list the row numbers (starting from 1) that are duplicate>“have duplicate folder identifiers>“

  5. In case file doesn’t have any validation errors, the dialog shows “Upload “Update is in progress” (note: this is a synchronous process)

  6. Once the upload is complete, the dialog closes and updated folder hierarchy is shown in the collection editor. update is complete,

    1. If the update is successful without errors, show status as “Update Successful” in the update dialog.

    2. In case there are errors in processing any of the rows, show the list of errors in the update dialog. Following are the possible errors that can happen at each row:

      1. Folder Identifier is incorrect - Message “Folder identifier is incorrect”

      2. Mapped topics are not found in the framework topics list - Message “Mapped topics are not found in the Topics master list”

      3. Keywords have a blank value (there are two commas without any keyword in between) - Message “Error in parsing keywords. Please ensure the keywords are separated by commas and there are no empty keywords.”

      4. QR Code is not generated for the collection - Message “QR Code is incorrect. Please ensure this QR code is generated for this collection.”

      5. Content id is incorrect - Message “Incorrect content id”

      6. Any other error - Message “System error. Please retry and if you continue to face the error, please report”.

    3. The errors list should be shown as follows:

      1. <<Row id (starting from 1)>>: <<Error Message>>

  7. User has option to close the dialog