UI5 / UI5/openui5

Planning Calendar empty cell click outside current month does not fire event

Open
#4,413 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug in progress
Dominant language
JavaScript
Stars
3.3k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

What is the issue and how can we reproduce it?
  1. Open the sample PlanningCalendarMulti OR the Minimal example attached (I've added some Message boxes to help with debugging)
  2. On the top right corner select "1 Month" view
  3. Go to February 2017
  4. Click on empty cell for John Miller that is outside of the current month (February) - March 2, 2017 Image
  5. The calendar view is moved to the next month - March, but startDateChange event is NOT triggered

We need this event to be triggered with the correct getStartDate in order to load the relevant appointments data for the next month

Error:

The calendar view is moved to the next month - March, but startDateChange event is NOT triggered

Expected behavior:

The calendar view is moved to the next month - March, and startDateChange event is triggered, and getStartDate method to have the correct date March 1, 2017

Minimal example

sap.m.sample.PlanningCalendarMultiFork.zip

Which OpenUI5 version is your project targeting?

1.146.0

Is the issue device- or browser-specific?

No, not browser specific

Confirmation
  • I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
  • I am not disclosing any internal or sensitive information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PlanningCalendarMulti sample and reproduce the February 2017 to March 2017 empty-cell click described in the issue. Trace the PlanningCalendar handling of the outside-month cell and verify that moving to March fires startDateChange with getStartDate set to March 1, 2017.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.