atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

is_page_content_is_already_updated does not perform exhaustive checks

Open CCCS-NoahS opened this issue 2 years ago • 0 comments

I have noticed that is_page_content_is_already_updated does not always return true when it should. This is based on the log log.info("Content of {page_id} differs".format(page_id=page_id)) and then the last updated status of my pages not changing. Not sure if this is something that really matters either, or that this project can fix since I believe it is due to some parsing on atlassian ends. When I use the tabulate package to create html tables and then upload them specific pages, this package always reports changes, even if none are present. Prior to migration to this package, I called the REST API directly, and had a similar check. I believe I had a similar issue with my check when it only normalized using .strip(). I think I ended up fixing it by removing all HTML tags. While this was an acceptable solution for my purposes, I do not think it will be an acceptable solution here. However, it may hint to where the 'difference' is.

I'll update this ticket after I perform some more testing to figure out exactly what the 'difference' is.

CCCS-NoahS avatar Jun 20 '22 13:06 CCCS-NoahS