We have an issue in a customer solution, where we have two channels, channel1 and channel2. We use a constructor injected instance of RequestModelAccessor to get the channel (_requestModelAccessor.RequestModel.ChannelModel.Channel) which works great elsewhere. In OrderHistoryViewModelBuilder however we always get channel1 from the requestmodel, even when we are visiting from channel2. Is this a bug or are we missing something obvious here?
Can you check the URL on OrderHistoryPanelViewModel.OrderHistoryLink if it’s for the correct channel? Maybe the pointer field value is set to a specific channel.
Not sure. If it’s reproducible you could report it as a bug so the team can investigate. Might be that when in administration mode the channel selected for the preview overrules the other.