Date-data datepicker keeps focus within repeating-data and table-data

  • 1
  • Problem
  • Updated 2 years ago
I upgraded from Scaffolding 7.4.1 to Scaffolding 8.6.2 on Confluence 5.5

Now Date-data datepicker keeps focus within repeating-data

Outside table-data and repeating-data it goes fine
but within, the 'popup' keeps the focus and stays visible :-/

Storage format
<ac:structured-macro ac:name="repeating-data"><ac:parameter ac:name="name">Testing</ac:parameter><ac:rich-text-body>
<p><ac:structured-macro ac:name="date-data"><ac:parameter ac:name="name">Test</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:plain-text-body><![CDATA[ ]]></ac:plain-text-body></ac:structured-macro></p></ac:rich-text-body></ac:structured-macro>
<p><ac:structured-macro ac:name="date-data"><ac:parameter ac:name="name">TestingMore</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:plain-text-body><![CDATA[ ]]></ac:plain-text-body></ac:structured-macro></p><ac:structured-macro ac:name="table-data"><ac:parameter ac:name="name">TableTest</ac:parameter><ac:rich-text-body>
<table>
<tbody>
<tr>
<th>Date</th></tr>
<tr>
<td>
<p><ac:structured-macro ac:name="date-data"><ac:parameter ac:name="name">TableDate</ac:parameter><ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter><ac:plain-text-body><![CDATA[ ]]></ac:plain-text-body></ac:structured-macro></p></td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>
Photo of andrew.vaningen

andrew.vaningen

  • 587 Posts
  • 59 Reply Likes
  • sad

Posted 2 years ago

  • 1
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Andrew,

From the storage format you provided, I noticed a behavior of date-data when nested in repeating-data  and table-data, where the date-data on the new row is being automatically filled up, usually with "0000-00-00 00:00:00". 

I would like to confirm if this is what you're experiencing at your end? I believe this is not an expected behavior.

Thank you.

Regards,
Suresh
Photo of andrew.vaningen

andrew.vaningen

  • 587 Posts
  • 59 Reply Likes
Photo of andrew.vaningen

andrew.vaningen

  • 587 Posts
  • 59 Reply Likes
I upgraded from Scaffolding 7.4.1 to Scaffolding 8.6.2 on Confluence 5.5
Photo of andrew.vaningen

andrew.vaningen

  • 587 Posts
  • 59 Reply Likes
steps to reproduce:
- add a new row
- click to change the date
>> you get stuck!
Photo of Suresh Mathusuthanan

Suresh Mathusuthanan, Alum

  • 117 Posts
  • 9 Reply Likes
Hi Andrew,

Can you try updating to Scaffolding version 8.7.5 and see if the problem persist ?

Regards,
Suresh
Photo of andrew.vaningen

andrew.vaningen

  • 587 Posts
  • 59 Reply Likes
Hi Suresh,
I tested in our testenvironment and it's solved! Thanks!
However I had to do it with a manual download and upload because the version officially isn't for Confluence 5.5

And one more thing. I'm not doing it in production just yet because I'm wondering what new bug got introduced... (my confidence is quite low again in the bug-freeness of SR plugins :-/ ) So first I'll be testing a while.