River has brought up the to bait of not to bait debate.
Bears are curious but they are also cautious. Bears will be attracted the the insect and the smell coming from the hive. They do not know how much work it is to get at them or what all they will find once they get in there, until they have been their once. when you first place hives in a yard a bear will notice the insects and the smell and will see the white boxes and they will cautiously approach the hive. They will circle them getting closer and closer and if you have an electric fence they will be cautious as they approach this new barrier and as they check it out and stick their noise to sniff it they get a shock and back off, the bear will check out the fence barrier from several angles getting shocked each time and backing off. not knowing what is in the white or in your case pink boxes, the bear will abandon it's pursuit of the flying bees and smells. But the bear has learned the boundaries that have been set by the electric fence.
Now same hive same location but without a bear fence in place. The bear continues to circle the hive curiously approaching it and eating some bees at the entrance but dew to the knowledge the bear has it knows if it tares the insect colony apart it will get to the larva and grubs. During this the bear also discovers honey. So now we have a bear that knows what is in the white boxes and as a beekeeper we have discoverer how destructive a bear can be to a hive. Now with several hives less we install an electric fence around the remaining hives. We feel we have added the protection the hives need from the bears. This is where the bear fence hive protection system fails. The bear has already included the whole area up to the hives as his area, He knows what is in the hives, he knows the risks (a few bee stings) are worth the rewards (bees, brood, pollen, and honey).
So the bear is no longer approaching the hives cautiously and the fence wire barrier is not noticed by the bear until he is shocked. Because he was heading directly to his destination, the hive. He will be part way through the fence before he receives the first shock and when he does in trying to get away from the shocks, he will take the fence down grounding it and rendering the fence useless until repaired. But until then the bear has access to the hives.
Lets back up a paragraph.
So the bear is no longer approaching the hives cautiously and the fence wire barrier is noticed by the bear because the wire has been baited. the bear comes along to the hive picks up a new sent something has changer so the bear becomes cautious again stopping before the fence barrier and sniffing and extends his noise to check the new fence out getting the shock that sets the new boundary's and the bear will approach from different angles seeing if there is a way in but getting a shock every time is enough of a deterrent to keep him away.
In summery For myself and with my understanding of bear biology, I put up electric fences if the hives are placed in bear country before the bears get a chance to find out what is in the hives. Because of this, the fence does not need to be baited as the bears will be approaching with caution the fence and the hives.
I don't like the idea of baiting because we are providing a powerful smell that will attract bears and other animals to the bee yard where the yard may have gone unnoticed. I have never baited my fences, or had a bear go through a fence. I have seen the grass beaten down around the fences and fresh bear crap near the yard but never had a bear go through.
But be a day late in putting up the fence and you have to bait to get the bears attention to the fence and that you have placed new boundary's.
The strength of the shock provided by the fencer. When it comes to bears, bees, honey, and electric fencers, we are talking risk and rewards. The bear is willing to take the risk of bee stings for the reward of brood and honey. Once they know the rewards that await them in the hive, they are willing to take the shock risk to get to it also. The 7000 joules seems to be the big enough wallop to turn the bears around and for them to respect the fence boundary's and that going through is not worth the reward. I have heard of cases that the bears have gotten into the hives, so know the rewards and so the risk of a few shocks are worth the rewards and will continue to walk through the fence to get to the hives and the only solution is either lead or moving the hives