You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "andy-clapson (via GitHub)" <gi...@apache.org> on 2023/08/21 15:17:41 UTC

[GitHub] [superset] andy-clapson opened a new issue, #25042: Unable to edit calculated column definitions - icon to expand/collapse the definition is not loading properly

andy-clapson opened a new issue, #25042:
URL: https://github.com/apache/superset/issues/25042

   I have noticed I can't edit existing calculated columns int eh `edit dataset` view. It looks to me, when I inspect the elements, that the expand/collapse toggle is actually there, but the icon doesn't load, so it's not clickable.
   
   #### How to reproduce the bug
   
   1. Open a datasource
   2. Click on 'edit dataset'
   3. GO to the 'calculated columns' tab
   4. add a new calculated col (can be anything, `select 1`)
   5. go back into the 'calculated columns` tab - there is no icon on the left to open the column definition.
   
   I see the following rwo console errors that I suspect are related:
   - `Loading failed for the <script> with source “<host>/explore/theme-[object%20Object].js”.`
   - `404 not found: GET | <host>/static/appbuilder/css/font-awesome.min.css`
   
   I also see the following, but I'm unsure if it's relevant:
   `Unable to infer path to ace from script src, use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes or with webpack use ace/webpack-resolver`
   
   ### Expected results
   
   TO be able to edit the calculated columns using the expand/collapse toggles.
   
   ### Actual results
   
   They are not visible, and not clickable.
   
   #### Screenshots
   
   ![unresolved 'object' call](https://github.com/apache/superset/assets/41118244/04856d14-6af9-48f0-9cca-cb253d25b013)
   ![404 when calling font-awesome in static](https://github.com/apache/superset/assets/41118244/15e40a46-44da-494b-81fb-cab957baae02)
   ![Calculated column menu expand/collapse icons not visible](https://github.com/apache/superset/assets/41118244/bd90a372-9eae-4cd1-bdb2-48b1f200a5ca)
   
   ### Environment
   
   - browser type and version: Firefox 116 / Chrome 116
   - superset version: `apache-superset[cors,postgres] 2.1.0`
   - python version: `3.10`
   - ~node.js version: ``~ n/a
   - any feature flags active:
   ```
   FEATURE_FLAGS = {
       "EMBEDDABLE_CHARTS": True,
       "GENERIC_CHART_AXES": True,
       "SQL_VALIDATORS_BY_ENGINE": {
           'postgresql': 'PostgreSQLValidator',
       },
       "DRILL_TO_DETAIL": True,
       "HORIZONTAL_FILTER_BAR": True,
   }
   ```
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   I have tried pinning we can try pinning `flask-appbuilder` to 4.1.6, since the changelog says they upgraded fontawesome in 4.2.1, but: `apache-superset[cors,postgres] 2.1.0 depends on flask-appbuilder<5.0.0 and >=4.3.0`
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Unable to edit calculated column definitions - icon to expand/collapse the definition is not loading properly [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #25042: Unable to edit calculated column definitions - icon to expand/collapse the definition is not loading properly
URL: https://github.com/apache/superset/issues/25042


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Unable to edit calculated column definitions - icon to expand/collapse the definition is not loading properly [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #25042:
URL: https://github.com/apache/superset/issues/25042#issuecomment-1986272431

   I believe this is either a 2.0 issue (no longer supported) or a config/permissions issue. This is effectively a duplicate of https://github.com/apache/superset/issues/27059. I'll close this in favor of that, even though both are closed because we no longer support 2.x versions. If this is still occurring in Superset 3.x or newer, we can reopen it and try to get to the bottom of things. Thanks for understanding :) 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org