View Issue Details

IDProjectCategoryView StatusLast Update
0005082SOGoWeb Calendarpublic2020-09-08 16:26
Reporterwimmer Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.2 
Fixed in Version5.0.1 
Summary0005082: Creation of All day Event in Calendar WebGUI
Description

I use git tree, but https://demo.sogo.nu/ has the same bug also.
It occures only when user creates new event as a "All day Event" moving by the mouse.
Short attached video shows better what happens.

Thanks,
Milos

TagsNo tags attached.

Relationships

has duplicate 0005152 resolvedfrancis Can't modify all day event 

Activities

wimmer

wimmer

2020-07-13 17:40

reporter  

francis

francis

2020-07-14 14:43

administrator   ~0014529

I've updated demo.sogo.nu. Can you still reproduce the problem? Make sure to empty your browser's cache.

wimmer

wimmer

2020-07-14 15:29

reporter   ~0014530

I see no change on demo.sogo.nu, problem is still there.
I cleared cache, I used new account, I used firefox and chromium on linux and firefox on win10.

francis

francis

2020-07-14 15:42

administrator   ~0014531

I can't reproduce the issue.

wimmer

wimmer

2020-07-16 18:13

reporter   ~0014546

Today I asked for test my friend. He uses MacOS and he never visited demo.sogo.nu yet.
He confirmed the problem on your site.
Now I see following behaviour:
I go to Calendar module, Month view, click mouse on some day and move with mouse. Form is opened, "All day Event" is checked. "Title" line is red. I write something, color changes to white.
"To date" line is set to selected day (it is same as "From date") and is red. SAVE button is unselectabled.
I click on "To date", calendar is opened. I confirm that same selected day.
"To date" line goes to grey color.
I click on "To date" again and confirm that same selected day again.
"To date" line goes to red color again.

Christian Mack

Christian Mack

2020-08-04 14:22

developer   ~0014624

For Info:
I had that too.
I then had to use <Return> once instead of clicking on the greyed out "save" button.
It stored the event with that.
All subsequent creations worked without that problem.

drnoname

drnoname

2020-08-17 17:01

reporter   ~0014699

Where exactly did you use <Return>? It does nothing for me.

I have the same problem on my own instance and can reproduce it on demo.sogo.nu
The prefilled end date value cannot be used and has to be changed to a different value and back in order to be able to save the calendar entry.

avoegele

avoegele

2020-08-18 00:52

reporter   ~0014701

Same problem here. If I create an all day event in the monthly view by dragging the mouse, the event can only be saved if the end date is changed to a different value and back. Events that span multiple days can be saved immediately. The date format doesn't matter. I can reproduce this problem with DD.MM.YYYY and YYYY-MM-DD.

francis

francis

2020-08-18 19:31

administrator   ~0014702

Please temporarily modify UIxAppointmentEditorTemplate.wox with this patch:

diff --git a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
index bb822978d..db4982a28 100644
--- a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
+++ b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
@@ -159,7 +159,7 @@
           &lt;div layout=&quot;row&quot;>
             &lt;div flex=&quot;50&quot;>
               &lt;div class=&quot;pseudo-input-container&quot;>
-                &lt;label class=&quot;pseudo-input-label&quot;>&lt;var:string label:value=&quot;From&quot;/>&lt;/label>
+                &lt;label class=&quot;pseudo-input-label&quot;>&lt;var:string label:value=&quot;From&quot;/> {{ editor.component.start }}&lt;/label>
               &lt;/div>
               &lt;div layout=&quot;row&quot; layout-align=&quot;start end&quot; layout-wrap=&quot;layout-wrap&quot;>
                 &lt;md-datepicker ng-model=&quot;editor.component.start&quot;
@@ -174,7 +174,7 @@
             &lt;/div>
             &lt;div flex=&quot;50&quot;>
               &lt;div class=&quot;pseudo-input-container&quot;>
-                &lt;label class=&quot;pseudo-input-label&quot;>&lt;var:string label:value=&quot;To&quot;/>&lt;/label>
+                &lt;label class=&quot;pseudo-input-label&quot;>&lt;var:string label:value=&quot;To&quot;/> {{ editor.component.end }}&lt;/label>
               &lt;/div>
               &lt;div layout=&quot;row&quot; layout-align=&quot;start end&quot; layout-wrap=&quot;layout-wrap&quot;>
                 &lt;md-datepicker ng-model=&quot;editor.component.end&quot;

Show me screenshot of the appointment editor when the end date is invalid.

avoegele

avoegele

2020-08-19 06:04

reporter   ~0014703

Here's a screenshot of an all-day event in German and timezone CEST.

all_day_event.png (22,430 bytes)   
all_day_event.png (22,430 bytes)   
avoegele

avoegele

2020-08-19 06:41

reporter   ~0014707

It seems that this problem is related to the timezone. I can reproduce the problem on demo.sogo.nu if the timezone is set to CEST.
If the web browser is started from the command line with "env TZ=EST firefox", I can save all-day events on both demo.sogo.nu and my instance.

francis

francis

2020-08-19 13:05

administrator   ~0014712

See issue #11963 of ng-material. Let's wait for release 1.1.25 or 1.2.1.

abma

abma

2020-09-02 12:00

reporter   ~0014737

1.1.25 was released 2020-08-31 with a fix for #11963 :

https://github.com/angular/material/blob/master/CHANGELOG.md

Related Changesets

sogo: master 3ee702e6

2020-09-08 12:25

francis


Details Diff
chore(npm): update md to v1.1.26

Fixes 0005082
Fixes 0005152
Affected Issues
0005082, 0005152
mod - UI/WebServerResources/angular-material Diff File
mod - UI/WebServerResources/package.json Diff File

Issue History

Date Modified Username Field Change
2020-07-13 17:40 wimmer New Issue
2020-07-13 17:40 wimmer File Added: all_day_event.mkv
2020-07-14 14:43 francis Note Added: 0014529
2020-07-14 15:29 wimmer Note Added: 0014530
2020-07-14 15:42 francis Note Added: 0014531
2020-07-16 18:13 wimmer Note Added: 0014546
2020-08-04 14:22 Christian Mack Note Added: 0014624
2020-08-17 17:01 drnoname Note Added: 0014699
2020-08-18 00:52 avoegele Note Added: 0014701
2020-08-18 19:31 francis Note Added: 0014702
2020-08-19 06:04 avoegele Note Added: 0014703
2020-08-19 06:04 avoegele File Added: all_day_event.png
2020-08-19 06:41 avoegele Note Added: 0014707
2020-08-19 13:05 francis Note Added: 0014712
2020-09-02 12:00 abma Note Added: 0014737
2020-09-08 13:32 francis Relationship added has duplicate 0005152
2020-09-08 16:26 francis Changeset attached => sogo master 3ee702e6
2020-09-08 16:26 francis Assigned To => francis
2020-09-08 16:26 francis Resolution open => fixed
2020-09-08 16:26 francis Status new => resolved
2020-09-08 16:26 francis Fixed in Version => 5.0.1