Ry3nG / MOBLIMA

Console-based Movie Booking and LIsting Management Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Staff: Update Cinema: Menu bug

min13489 opened this issue · comments

(1) For every iteration of the for-loop to display the option menu, my number of options for "set cineplex code" just kept increasing?
part 1:
image
part 2:
image

Let me try to reset my branch to test this bug out again.

UPDATE: yup, still the same, every option will cause additional 'set cineplex code' option to be created, so issue probably on the while loop level. new options created are "empty", not tied to runnable

Noted updates.

Test:
image

Conclusion: issue of repeated 'set cineplex code' resolved, but random print of the warning for 'unable to edit cineplex code'

Conclusion: issue of repeated 'set cineplex code' resolved, but random print of the warning for 'unable to edit cineplex code'

Warning is only printed when the Cinema has a Showtime with an active booking.

image