SoftwareDesignLab / vulnerability-intelligence-platform

Vulnerability Intelligence Platform
https://www.cve.live
MIT License
1 stars 0 forks source link

Time Gaps not showing #132

Open aep7128 opened 1 year ago

aep7128 commented 1 year ago

Time Gaps don't seem to be showing on the graphs now:

Image

aep7128 commented 1 year ago

Reason is because there's an exception being thrown when trying to parse a NULL create date Let's add a check to make sure the date exists before parsing it:

Image

aep7128 commented 1 year ago

there's a failure when trying to format the create date, added additional format method call to parse the datestrings

aep7128 commented 1 year ago

Also looks like the conditional for checking null create date was reversed (If null, make a date out of the null date lol) Going to test later and verify

aep7128 commented 1 year ago

Looks like my test passes on this, will prepare a PR and request for review

aep7128 commented 1 year ago

this is related to the create_date null issue, still testing

aep7128 commented 1 year ago

Created_Date still returning as null, lets try updating the CompositeVulnerability Model so created date is current date by default

aep7128 commented 1 year ago

Still getting issues with these graphs, can someone please investigate this ASAP

Image

20ioppolan commented 1 year ago

On first glance, hovering over gives values still: image First half of the graph is showing "2:", second half is "2:0"