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

NullPointerException in web TabSheet implementation #913

Closed
dtsaryov opened this issue Jun 1, 2018 · 0 comments
Closed

NullPointerException in web TabSheet implementation #913

dtsaryov opened this issue Jun 1, 2018 · 0 comments
Assignees
Labels
state: fixed Fixed by the developer type: bug Something isn't working ver: 6.10.0 Fixed in version ver: 7.0.0 Fixed in version
Milestone

Comments

@dtsaryov
Copy link
Contributor

dtsaryov commented Jun 1, 2018

A topic on support forum: link.

Environment

  • Platform version: 6.9.0

  • Client type: Web

Description of the bug or enhancement

Setup test screen in the following way:

<button caption="Remove tabs"
        invoke="removeTabs"/>
<tabSheet id="tabsheet">
    <tab id="tab1"
         caption="tab1">
        <label value="Tab 1"/>
    </tab>
    <tab id="tab2"
         caption="tab2">
        <label value="Tab 2"/>
    </tab>
</tabSheet>
@Inject
private TabSheet tabsheet;

@Override
public void init(Map<String, Object> params) {
    tabsheet.addSelectedTabChangeListener(event -> {
        showNotification("Tab changed" + event.getSelectedTab());
    });
}

public void removeTabs() {
    tabsheet.removeAllTabs();
}

Open test screen and click the button.

image

@dtsaryov dtsaryov added client: web type: bug Something isn't working labels Jun 1, 2018
@dtsaryov dtsaryov added this to the Release 6.9 milestone Jun 1, 2018
@dtsaryov dtsaryov self-assigned this Jun 1, 2018
@haulmont-git haulmont-git added the ver: 7.0.0 Fixed in version label Jun 9, 2018
@haulmont-git haulmont-git added the ver: 6.10.0 Fixed in version label Jun 9, 2018
@natfirst natfirst self-assigned this Jun 9, 2018
@natfirst natfirst added the state: fixed Fixed by the developer label Jun 9, 2018
@natfirst natfirst closed this as completed Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: fixed Fixed by the developer type: bug Something isn't working ver: 6.10.0 Fixed in version ver: 7.0.0 Fixed in version
Projects
None yet
Development

No branches or pull requests

3 participants