Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event with start time and no end time #790

Closed
JonCup opened this issue Apr 6, 2018 · 6 comments · Fixed by #926
Closed

Event with start time and no end time #790

JonCup opened this issue Apr 6, 2018 · 6 comments · Fixed by #926
Assignees
Labels
3. to review Waiting for reviews bug
Milestone

Comments

@JonCup
Copy link

JonCup commented Apr 6, 2018

Steps to reproduce

  1. Set the start time to 7:30 am and the end time to 7:30 am on the same day

Expected behavior

Should be able to add events without a stop time, one time events that don't have a duration, like wake up at 7:00 am. Do this action at this time. Stuff like that.

Actual behavior

The event is displayed on the calendar as "7:30am - 9:30am", if you click on the details its says its 7:30 to 8:30 and if you click update it does update it on the calendar too, but you still can't set a event with out an end time.

Server configuration detail

Operating system: Linux 4.14.17-x86_64-linode99 #1 SMP Tue Feb 6 19:09:58 UTC 2018 x86_64

Webserver: nginx/1.10.3 (fpm-fcgi)

Database: mysql 10.2.14

PHP version: 7.1.15-1+ubuntu16.04.1+deb.sury.org+2
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, json, exif, mcrypt, mongodb, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache

Nextcloud version: 13.0.1 - 13.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array

List of activated apps
Enabled:
 - activity: 2.6.1
 - admin_notifications: 1.0.1
 - apporder: 0.4.1
 - audioplayer: 2.2.5
 - bookmarks: 0.11.0
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.1
 - checksum: 0.3.5
 - circles: 0.13.6
 - comments: 1.3.0
 - contacts: 2.1.3
 - dav: 1.4.6
 - deck: 0.3.1
 - drawio: 0.8.9
 - encryption: 2.0.0
 - end_to_end_encryption: 1.0.5
 - external: 3.0.2
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_antivirus: 1.2.0
 - files_downloadactivity: 1.2.0
 - files_external: 1.4.1
 - files_frommail: 0.1.0
 - files_fulltextsearch: 0.6.0
 - files_linkeditor: 1.0.4
 - files_markdown: 2.0.4
 - files_opds: 0.8.8
 - files_pdfviewer: 1.2.1
 - files_reader: 1.2.3
 - files_rightclick: 0.5.0
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - fulltextsearch: 0.6.1
 - gallery: 18.0.0
 - gpxedit: 0.0.8
 - gpxmotion: 0.0.6
 - gpxpod: 2.2.2
 - groupfolders: 1.2.0
 - impersonate: 1.0.3
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - metadata: 0.6.0
 - mindmaps: 0.1.0
 - mood: 0.3.3
 - music: 0.5.6
 - news: 12.0.1
 - nextcloud_announcements: 1.2.0
 - notes: 2.3.2
 - notifications: 2.1.2
 - oauth2: 1.1.0
 - ocdownloader: 1.5.6
 - ocsms: 1.12.2
 - onlyoffice: 1.3.0
 - ownpad: 0.6.6
 - password_policy: 1.3.0
 - passwords: 2018.3.0
 - phonetrack: 0.2.7
 - previewgenerator: 1.0.9
 - provisioning_api: 1.3.0
 - qownnotesapi: 17.5.0
 - quota_warning: 1.2.0
 - radio: 0.6.1
 - rainloop: 5.0.6
 - ransomware_protection: 1.1.0
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - socialsharing_email: 1.0.3
 - socialsharing_googleplus: 1.0.2
 - socialsharing_twitter: 1.0.2
 - spreed: 3.1.0
 - spreedme: 0.3.11
 - survey_client: 1.1.0
 - systemtags: 1.3.0
 - telephoneprovider: 1.0.1
 - theming: 1.4.1
 - theming_customcss: 1.0.0
 - twofactor_backupcodes: 1.2.3
 - unsplash: 1.0.6
 - updatenotification: 1.3.0
 - user_saml: 1.5.0
 - user_usage_report: 1.0.1
 - weather: 1.5.1
 - workflowengine: 1.3.0
Disabled:
 - admin_audit
 - announcementcenter
 - dashboard
 - files_accesscontrol
 - files_automatedtagging
 - files_retention
 - flowupload
 - lsd
 - mail
 - ocr
 - ojsxc
 - polls
 - socialsharing_facebook
 - tasks
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.XXXXXXXXXXXX.com",
        "cloud.XXXXXXXXXXXX.biz"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/cloud.XXXXXXXXXXXXX.com",
    "dbtype": "mysql",
    "version": "13.0.1.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "maintenance": false,
    "mail_smtpmode": "smtp",
    "mail_smtpauthtype": "PLAIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "theme": "",
    "loglevel": 2
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Operating system:

Logs

Browser log
Insert your webserver log here 
Nextcloud log
Insert your Nextcloud log here
Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@memen45
Copy link

memen45 commented Apr 23, 2018

Exactly the same issue here. Server is up to date (13.0.1).
I am using DAVdroid app on android to sync the events and the windows 10 calendar app (with icloud account configuration) to sync the calendars between devices and this properly works.
I think this is a bug in the representation in the UI of the webapp?

@georgehrke
Copy link
Member

Should be able to add events without a stop time, one time events that don't have a duration, like wake up at 7:00 am. Do this action at this time. Stuff like that.

What's the use case here?

This is a calendar app, not an alarm clock ;)
Generally if you have stuff to do at a certain time like "Call XYZ" or "Pick up ABC from XYZ" you would want to use the task app, not the calendar app.

also see #28

@memen45
Copy link

memen45 commented Apr 23, 2018

I think this is a bug, regardless of whether there is a use case for it. An event is shown in the calendar overview with an incorrect end time.

Personally I encountered this as I add deadlines to my calendar app as well. I am not really familiar with the task app, so I do not know whether I conceptually should use that one for keeping track of my deadlines, but I would think using multiple apps for scheduling your time would be overly complicated?

@JonCup
Copy link
Author

JonCup commented Apr 30, 2018

Memen45 said it all perfectly. Either way there is definitely a bug here. But also, I agree why use two different apps to manage time. I'd be ok with using a different app, as long as I can see all my schedule in one place.

@hoyalu
Copy link

hoyalu commented Mar 19, 2019

A regular use case for me are events with a specific start time but an unpredictable duration or a duration unknown at creation time. The students' concert will definitely start at 11:00, but it might take 30 or 120 minutes, depending on the number of participants.

Ugly workarounds could be to create a day event, mentioning the start time in the description, or to create an event with the longest possible duration and a note like "might end way earlier".

@imforumman
Copy link

Critical, as when editing an event that was correctly created to having no duration, it is wrongly and inadvertently modified when editing that event.

The wrong display using two hours as the duration is arbitrary, using a box as high as the description needs seems more reasonable.

@georgehrke georgehrke added 1. to develop Accepted and waiting to be taken care of bug labels Aug 30, 2019
@georgehrke georgehrke added this to the 2.0.0 beta4 milestone Aug 30, 2019
@georgehrke georgehrke self-assigned this Aug 30, 2019
@georgehrke georgehrke modified the milestones: 2.0.0 beta4, 2.0.0 beta1 Sep 9, 2019
@georgehrke georgehrke added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Sep 9, 2019
@georgehrke georgehrke mentioned this issue Oct 16, 2019
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants