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

Pick Random's upper limit become blank in imported V0 and V1 Beta projects #1581

Closed
alankrantas opened this issue Nov 3, 2018 · 4 comments
Closed

Comments

@alankrantas
Copy link

Describe the bug

If you import older projects written in V0 and V1 beta projects, the Pick Random blocks's upper limit will be blank and hence only return zero.

To Reproduce

Simply create a code containing Pick Random blocks in V0 editor, download it and open it in V1.

Expected behavior

The upper limit shouldn't be blank.

Screenshots

microbit-screenshot

microbit-screenshot 1

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Google Chrome
  • Version: 70.0.3538.77

Additional context

This also happens to codes I've written in V1 Beta editor (before V1 became officially online) back in September and October. If I import them now the upper limits are blank. I've already fixed many of them manually.

I have a sample file here. It was downloaded at Oct 22nd in V1 Beta.
Downloads.zip

@abchatra
Copy link
Contributor

abchatra commented Nov 5, 2018

@alankrantas we can't repro this bug. I tried to create a script in makecode.microbit.org/v0 and it correctly imported. Is it possible for you to share your program in v0 and give us the link to repro?

@abchatra
Copy link
Contributor

abchatra commented Nov 5, 2018

Downloads.zip also got imported correctly in the latest editor

@alankrantas
Copy link
Author

I just tried it again and the blocks are now loaded correctly. This was not the case before I reported this bug (happened on different computers I've used).

Perhaps it is related/tied to other issues and are already fixed.

@lock
Copy link

lock bot commented Nov 6, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants