Bug 84180 - EDITING: cells where all spaces are removed with F&R, and then contain a valid date, are not converted to date
Summary: EDITING: cells where all spaces are removed with F&R, and then contain a vali...
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 12:32 UTC by Burak Ural
Modified: 2015-05-06 14:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burak Ural 2014-09-22 12:32:28 UTC
Problem description: 
A sheet that has spaces in cells recognizes date as text. This is normal, however when the spaces are removed via find-replace text is not converted to the date format.
Even if text is converted to date format via format cell properties ' sign is being placed to the beginning date in cell. Workaround is all text needs to be copied to notepad and copied back from notepad to import the text as date.
Steps to reproduce:
1. A sheet that has spaces in beginning and/or ending of a cell that has date as data.
2. Use find-replace to remove all spaces in the cell.
3. The cell only has date data but it is treated as text. (1st bug)
4. Use cell properties to set cell and date.
5. Cell still is text and ' sign is added to the beginning of cell data. (2nd bug)

Current behavior:
1st bug; When all spaces is removed, the date data is still treated as text.

2nd bug; When date formatting is selected , the cell is being added ' sign and still in text format.

Expected behavior:
1st bug; When all spaces is in a cell is removed, if the text in a cell contains only date data, the data should be treated/formatted as date.

2nd bug; When date formatting is selected for a cell , the data in the cell if suitable should be converted to date; and/or should be removed from anything that makes it a text.

Operating System: Windows XP
Version: 4.2.6.2 release
Comment 1 Cor Nouws 2014-09-22 13:22:19 UTC
Hi Burak,

This may help you any way:
  http://extensions.libreoffice.org/extension-center/ct2n-convert-text-to-number-and-dates

Cheers,
Cor
Comment 2 Cor Nouws 2014-09-22 13:27:41 UTC
Hi Burak,

(In reply to comment #0)

> 1st bug; When all spaces is in a cell is removed, if the text in a cell
> contains only date data, the data should be treated/formatted as date.

> 2nd bug; When date formatting is selected for a cell , the data in the cell
> if suitable should be converted to date; and/or should be removed from
> anything that makes it a text.

Thanks for filing.
Sounds logic to me.
But basically it means starting conversion from text cells to date cells, while you have multiple cells selected.
Not sure about possible side effects here.
@eike: can you pls comment?
Comment 3 QA Administrators 2015-04-01 14:47:19 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INVALID
due to lack of needed information.

For more information about our NEEDINFO policy please read the
wiki located here:
https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO

If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
 
Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 4 Cor Nouws 2015-04-01 18:14:10 UTC
I think the problem is that the cell does not contain a date, but a string.
And we know what that means...
Hence my suggestion in comment1.

I would suggest resolve as NotABug.
Comment 5 QA Administrators 2015-05-06 14:21:41 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

-- The LibreOffice QA Team 

This INVALID Message was generated on: 2015-05-06

Warm Regards,
QA Team