#1709 API call getTagID(tag_name, create=True) is giving only tag id, but not creating tag
Closed: Invalid 3 years ago by tkopecek. Opened 4 years ago by rmandadi.

Steps to reproduce:

 getTagID(tag_name, create=True)

Current Output:

returns tag id, but getTagID(tag_name) returns none. 

Expected Output:

returns tag_id, also a tag info from  getTagID(tag_name) ,

matches with tag['id'] with tag_id.

I checked these steps and issue is written little wrong, because:
getTagID(tag_name) -> returns None
getTagID(tag_name, create=True) -> returns tagID
getTagID(tag_name) -> returns tagID

Because Ram wrote test cases for our QE, I found test case related to this issue and he tried something else:
getTagID(tag_name, create=True) -> returns tagID
getTag(tag_name) -> returns None

And this is expected behavior, because getTagID created only 'reserved' tag_name and tagID. GetTag call is working with 'tag_config' table, therefore it doesn't returns tag info.

@tkopecek , I think, we can close this issue as invalid.

Metadata Update from @jcupova:
- Custom field Size adjusted to None

3 years ago

Metadata Update from @tkopecek:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata