Bug 142208 - Bucle infinito inesperado dentro de IF...THEN...END IF al ejecutar el procedimiento mediante cualquier Suceso
Summary: Bucle infinito inesperado dentro de IF...THEN...END IF al ejecutar el procedi...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-11 02:39 UTC by ramon6419
Modified: 2021-12-09 04:31 UTC (History)
1 user (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 ramon6419 2021-05-11 02:39:37 UTC
Description:
If CDbl(dvFinFecha) < CDbl(Now()) then	
		msgbox "La fecha no puede ser mayor que hoy"		
		ofForm.Controls("FinFecha").Value = "" --------- Elimina el valor introducido 
                                                                 en el control, erróneamente por el usuario, seguidamente
								 provoca un bucle infinito y no sigue corriendo el código

		Exit Sub --------------------------------------- Debería salir del procedimiento IF...THEN, pero no 
                                                                 responde Exit Sub.
	
           ElseIf dvFinFecha <= svMimFechaLicenciaConductor then
		msgbox "La fecha no puede ser menor que fecha alta conductor"

		'ofForm.Controls("FinFecha").Value = "" --------Elimina el valor introducido en el control, erroneamente 
                                                                por el usuario, seguidamente
								provoca un bucle infinito y no sigue corriendo elcodigo.

		Exit Sub -------------------------------------- Debería salir del procedimiento IF...THEN, pero no 
                                                                responde el Exit Sub.
End if
Exit Sub
End Sub

Steps to Reproduce:
1.Crear un bucle If...then según detallo anteriormente.
2.
3.

Actual Results:
Para reproducir el problema ejecutar la instrucción o bucle IF...THEN que detallo anteriormente en el cuadro "Descripción"

Expected Results:
Se origina un bucle infinito.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Exit Sub impera sobre cualquier acción, instrucción o comando, Exit Sub tenia que detener la ejecución del codigo.
Comment 1 Xisco Faulí 2021-05-11 07:44:25 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 QA Administrators 2021-11-08 04:08:45 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2021-12-09 04:31:07 UTC
Dear ramon6419,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA 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

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp