The maginot line failed because they only built it along the border with their enemy (germany) and didn't continue it along the border with their friend (belgium) - so the enemy simply drove around it.
In newspaper terms it's like having a paywall but allowing the full text of the story to appear via Google's cache.