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

alias_visible does not exist in model schema #14599

Open
opengeek opened this issue Jun 5, 2019 · 0 comments

Comments

@opengeek
Copy link
Member

commented Jun 5, 2019

Bug report

Summary

When the alias_visible column was added to the modResource model, it was never added to the schema. Regeneration of the model from the schema thus makes this column disappear. Further, the phptype should be boolean, not integer.

Step to reproduce

Regenerate the model in 2.x and the alias_visible column disappears from the modResource map files.

Observed behavior

This breaks the unit tests because alias_visible is referenced in code covered by the unit tests.

Expected behavior

alias_visible needs to be added to the schema so regeneration of the model does not lose the column. It is being added to resolve the issue in the 3.x refactor manually as:

<field key="alias_visible" dbtype="tinyint" precision="1" attributes="unsigned" phptype="boolean" null="false" default="1" />

Environment

ALL

Related PR

#13660

@opengeek opengeek added this to the v2.7.2 milestone Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.