You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "clfleury (via GitHub)" <gi...@apache.org> on 2024/04/24 00:28:26 UTC

Re: [I] [Bug] options defined in replaceMerge are cleared when adding media option [echarts]

clfleury commented on issue #18588:
URL: https://github.com/apache/echarts/issues/18588#issuecomment-2073705871

   > I ran into what I think is similar behavior trying to use `replaceMerge` and it triggered the error ""media" is not valid component main type in "replaceMerge"" from the code below. Is it intended that `replaceMerge` doesn't support `media` or is this a potential bug where media isn't getting registered properly?
   > 
   > https://github.com/apache/echarts/blob/b37d67cbd47534eb3307262d64be9cdae3325609/src/model/Global.ts#L1071-L1075
   
   I run into a similar issue when attempting to use `replaceMerge` with series. I believe it’s tied to the main application’s assigned development environment because it only occurs when I manually set my local environment variable explicitly, and there is an if statement in eCharts that checks if the environment is set to production. Not sure what the utility of the if statement is here.


-- 
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: commits-unsubscribe@echarts.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org