On dislocations in a special class of generalized elasticity