Skip to content

Fixing issue#380

ego Agct requested to merge check-expiration-issue#380 into main

License and Copyright Notice

By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).

Branch Name

(check-expiration-issue#380)

Related Issues

(Closes#380)

Description

(will solve issue 380 by if conditional if a subcategory is null for an item don't include subcategory in the getCategories method) @burdged We are ready to merge.

Steps to Test

(List the steps needed to test this merge request here using bullets, for ex:)

  1. Scan or manually enter a UPC Barcode, click SELECT CATEGORY.
  2. look at the subcategories which appears after the category name and '-'

Relevant Screenshots

(Post any relevant screenshots here.)

Relevant Logs

(
going to add Log.d("##SubCategoryIsNOTNull",cursor.getString(SUBCATEGORY_NAME));
going to add Log.d("##SubCategoryIsNull",cursor.getString(SUBCATEGORY_NAME));
)

Developer Notes

(List any notes you have about what you did here using bullets, for ex:)

  • (It is most likely that data fields of a record that are empty contain the String value of null being "null" )
Edited by ego Agct

Merge request reports