TOLOGIX - Infrastructure LawGuide (ILG)

Selected portion of HTML uploading does not work and upload the whole HTML instead

Assigned to
Martin Laporte, CTO at Tologix Martin L.

Comments & Events

Martin Laporte, CTO at Tologix
Hi Paul Moon Paul , looking at the HTML code, I see that I did not assign a specific paragraph ID for that section, but I can confirm that the heading 1.1 was assigned ID "BC00019000_h1.1".

Hi Hiren Patel Hiren , can you help us understand whether this is an HTML coding issue, or if it's an issue in the ILG code?


Note that Ujjaval Vyas, DevIT Ujjaval did find an issue that may or may not be related to this: https://dev.azure.com/tologix/ILG/_workitems/edit/1905.
Paul Moon
Hi Martin Laporte, CTO at Tologix Martin :

In this case, 1.1 should have been the ID that shows, not "Title."

What Ujjaval Vyas, DevIT Ujjaval found is a similar issue albeit in his example, the correct paragraph ID is identified. I'll leave it up to you to decide whether we should log this as a separate item as unplanned during this sprint.

Thanks,

Paul
Martin Laporte, CTO at Tologix
Hi Hiren Patel Hiren , can you help us understand whether this is an HTML coding issue, or if it's an issue in the ILG code? 

Thanks,
-Martin
Hiren Patel
Hi Martin Laporte, CTO at Tologix Martin ,

I will check and update you.

Thanks,
Hiren Patel
Martin Laporte, CTO at Tologix
Hi Harsh Parikh, Tech Lead at DevIT Harsh and Hiren Patel Hiren ,

I noticed that basecamp thread (ISLG) Implement corrections (UN/0118/23) (25-May-2022) - TOLOGIX - PDF to HTML Conversion also has the same issue, where "Title" is selected.

I thought I would mention it, since the issue is now present in both ILG and ISLG.

Could you discuss and let us know why "Title" is visible?
Do we need to change the way documents are coded? Can we make adjustments in ILG and ISLG code to avoid this?

Thanks,
-Martin
Harsh Parikh, Tech Lead at DevIT
Hi Martin Laporte, CTO at Tologix Martin ,

We will discuss this thing in today's scrum meeting.
Martin Laporte, CTO at Tologix
Hi Harsh Parikh, Tech Lead at DevIT Harsh ,

Based on our conversation today, I'd like to add a few missing IDs to an HTML document that has already been tagged.

Example: 
Original HTML
<div class="para paralvl1" style="padding-top:0px;padding-bottom:0px;" data-key="222">Hello world</div>

I want to change to:
<div class="para paralvl1" id="BC00019000_pa1.1a" style="padding-top:0px;padding-bottom:0px;" data-key="222">Hello world</div>

No other changes would be made; just add some id attributes to some elements.

My question is: would these changes affect the tags? I.e.: would you or Hiren Patel Hiren have to make changes to the tag data in the database?


Thanks,
-Martin 
Harsh Parikh, Tech Lead at DevIT
Hi Martin Laporte, CTO at Tologix Martin ,

I assume we need to add attribute first in html file and then will do tagging exercise on that html. By doing tag that pa1.1a should be save in database.

Am I Correct ?

Cc : Hiren Patel Hiren  
Martin Laporte, CTO at Tologix
Thanks, Harsh Parikh, Tech Lead at DevIT Harsh .

Per our discussion today, I will make the changes in the HTML and send to Hiren Patel Hiren for him to update the database tags.

Thanks,
-Martin
Paul Moon
Paul Moon completed this to-do.