brasilgovagenda-720c34e.js:166 Uncaught TypeError: Cannot read property 'daysWithAppointments' of undefined
at DatePicker.<anonymous> (brasilgovagenda-720c34e.js:166)
at l (++resource++plone.app.jquery.js:2)
at Object.fireWith [as rejectWith] (++resource++plone.app.jquery.js:2)
at T (++resource++plone.app.jquery.js:2)
at XMLHttpRequest.r (++resource++plone.app.jquery.js:2)
(anonymous) @ brasilgovagenda-720c34e.js:166
l @ ++resource++plone.app.jquery.js:2
fireWith @ ++resource++plone.app.jquery.js:2
T @ ++resource++plone.app.jquery.js:2
r @ ++resource++plone.app.jquery.js:2
XMLHttpRequest.send (async)
send @ ++resource++plone.app.jquery.js:2
ajax @ ++resource++plone.app.jquery.js:2
update @ brasilgovagenda-720c34e.js:157
(anonymous) @ brasilgovagenda-720c34e.js:288
dispatch @ ++resource++plone.app.jquery.js:2
u @ ++resource++plone.app.jquery.js:2
load (async)
add @ ++resource++plone.app.jquery.js:2
(anonymous) @ ++resource++plone.app.jquery.js:2
each @ ++resource++plone.app.jquery.js:2
each @ ++resource++plone.app.jquery.js:2
on @ ++resource++plone.app.jquery.js:2
v.fn.<computed> @ ++resource++plone.app.jquery.js:2
v.fn.load @ ++resource++plone.app.jquery.js:2
(anonymous) @ comments.js:90
(anonymous) @ comments.js:241
Este erro ocorre porque o javascript tenta pegar a data do final da url mas, logo após a criação da Agenda Diária, o final da url tem um /view. Exemplo:
Após criar uma Agenda Diária, ocorrem os erros abaixo no console de javascript:
Este erro ocorre porque o javascript tenta pegar a data do final da url mas, logo após a criação da Agenda Diária, o final da url tem um
/view
. Exemplo:http://localhost:8080/Plone/nova-agenda/2020-07-04/view