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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to