Skip to content

Cannot create new events #46

@ilieandriuta

Description

@ilieandriuta

Environment: Windows 10 Pro 64 bit, Firefox 83, using a local instance XWiki 12.9 on Oracle 19c, Calendar Pro 2.9

STEPS TO REPRODUCE

  1. Go to Calendar Pro App
  2. Click 'Create new event'

EXPECTED RESULTS

The new event box opens and an event title can be added.

ACTUAL RESULTS

The new event box opens, but contains an error in it:

Failed to execute the [velocity] macro. Cause: [Encountered "}" at xwiki:MoccaCalendar.MoccaCalendarEventSheet[line 13, column 79] Was expecting one of: "[" ... "||" ... "," ... ")" ... <WHITESPACE> ... <NEWLINE> ... "-" ... "+" ... "*" ... "/" ... "%" ... <LOGICAL_AND> ... <LOGICAL_OR> ... <LOGICAL_LT> ... <LOGICAL_LE> ... <LOGICAL_GT> ... <LOGICAL_GE> ... <LOGICAL_EQUALS> ... <LOGICAL_NOT_EQUALS> ... ]. Click on this message for details.

Also, in XWiki console there is the following error:

2020-11-18 14:25:45,274 [http-nio-1115-exec-9 - http://localhost:1115/xwiki/bin/edit/MoccaCalendar/randomPageHbebLNVCyP?template=MoccaCalendar.MoccaCalendarEventTemplate&parentFROM=MoccaCalendar.Events&form_token=tv3bb0JD5mxOJoxkAAVFVg&ocalcaction=create&xpage=plain&xhidden=1] ERROR o.a.v.parser                   - xwiki:MoccaCalendar.MoccaCalendarEventSheet: Encountered "}" at line 13, column 79.
Was expecting one of:
    "[" ...
    "||" ...
    "," ...
    ")" ...
    <WHITESPACE> ...
    <NEWLINE> ...
    "-" ...
    "+" ...
    "*" ...
    "/" ...
    "%" ...
    <LOGICAL_AND> ...
    <LOGICAL_OR> ...
    <LOGICAL_LT> ...
    <LOGICAL_LE> ...
    <LOGICAL_GT> ...
    <LOGICAL_GE> ...
    <LOGICAL_EQUALS> ...
    <LOGICAL_NOT_EQUALS> ...

Nothing happens if the 'Save' button is clicked.

Cannot_create_new_events

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions